Skip to content

Commit f33650f

Browse files
authored
fix the symmetry condition in rpa (#5355)
1 parent 7a29e2f commit f33650f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_ri/RPA_LRI.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void RPA_LRI<T, Tdata>::cal_postSCF_exx(const elecstate::DensityMatrix<T, Tdata>
108108
exx_lri_rpa.init(mpi_comm_in, kv, orb);
109109
exx_lri_rpa.cal_exx_ions(PARAM.inp.out_ri_cv);
110110

111-
if (exx_spacegroup_symmetry) {
111+
if (exx_spacegroup_symmetry && PARAM.inp.exx_symmetry_realspace) {
112112
exx_lri_rpa.cal_exx_elec(Ds, *dm.get_paraV_pointer(), &symrot);
113113
} else {
114114
exx_lri_rpa.cal_exx_elec(Ds, *dm.get_paraV_pointer());

0 commit comments

Comments
 (0)