\begin{equation}\ce{CaCO3(s) -> CaO(s) + CO2(g)}\quad\Delta H^\circ = +556\ \mathrm{kJ/mol} \tag{endothermic}\end{equation}
How will the equilibrium partial pressure of $\ce{CO2}$ be affected if the volume is decreased?
So, I thought of course the moles will increase when you decrease the volume hence $pV = nRT$, thus $p = \frac{nRT}{V}$. Therefore, $p$ is inversely proportional to $V$. But, the right answer is NO CHANGE, can anyone help me to understand why?