Constrained random-phase approximation: Difference between revisions