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 06df0ee commit bc05444Copy full SHA for bc05444
source/module_io/output_mulliken.h
@@ -138,7 +138,7 @@ void cal_mag(Parallel_Orbitals* pv,
138
auto sc_lambda
139
= new hamilt::DeltaSpin<hamilt::OperatorLCAO<TK, double>>(nullptr,
140
kv.kvec_d,
141
- nullptr,
+ dynamic_cast<hamilt::HamiltLCAO<TK, double>*>(p_ham)->getHR(),
142
ucell,
143
&gd,
144
two_center_bundle.overlap_orb_onsite.get(),
@@ -164,7 +164,7 @@ void cal_mag(Parallel_Orbitals* pv,
164
auto sc_lambda = new hamilt::DeltaSpin<hamilt::OperatorLCAO<std::complex<double>, std::complex<double>>>(
165
nullptr,
166
167
+ dynamic_cast<hamilt::HamiltLCAO<std::complex<double>, std::complex<double>>*>(p_ham)->getHR(),
168
169
170
0 commit comments