Skip to content

Commit

Permalink
Fix: out_mul with DFT+U
Browse files Browse the repository at this point in the history
  • Loading branch information
dyzheng committed Jan 14, 2025
1 parent 71e2dea commit a682dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/module_io/output_mulliken.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void cal_mag(Parallel_Orbitals* pv,
auto sc_lambda
= new hamilt::DeltaSpin<hamilt::OperatorLCAO<TK, double>>(nullptr,
kv.kvec_d,
nullptr,
dynamic_cast<hamilt::HamiltLCAO<TK, double>*>(p_ham)->getHR(),
ucell,
&gd,
two_center_bundle.overlap_orb_onsite.get(),
Expand All @@ -164,7 +164,7 @@ void cal_mag(Parallel_Orbitals* pv,
auto sc_lambda = new hamilt::DeltaSpin<hamilt::OperatorLCAO<std::complex<double>, std::complex<double>>>(
nullptr,
kv.kvec_d,
nullptr,
dynamic_cast<hamilt::HamiltLCAO<std::complex<double>, std::complex<double>>*>(p_ham)->getHR(),
ucell,
&gd,
two_center_bundle.overlap_orb_onsite.get(),
Expand Down

0 comments on commit a682dd7

Please sign in to comment.