We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98cdfff commit a12ccf8Copy full SHA for a12ccf8
source/module_lr/dm_trans/dmr_complex.cpp
@@ -42,7 +42,7 @@ namespace elecstate
42
}
43
#endif
44
// loop over k-points
45
- if (PARAM.inp.nspin != 4)
+ if (PARAM.inp.nspin != 4) {
46
for (int ik = 0; ik < this->_nk; ++ik)
47
{
48
// cal k_phase
@@ -70,9 +70,11 @@ namespace elecstate
70
tmp_DMR_pointer += this->_paraV->get_col_size(iat2);
71
72
73
+}
74
// treat DMR as pauli matrix when NSPIN=4
- if (PARAM.inp.nspin == 4)
75
+ if (PARAM.inp.nspin == 4) {
76
throw std::runtime_error("complex DM(R) with NSPIN=4 is not implemented yet");
77
78
79
80
0 commit comments