Skip to content

Commit

Permalink
Fix: nscf calculation stuck with nspin=2 and LCAO (#3570)
Browse files Browse the repository at this point in the history
Co-authored-by: dyzheng <zhengdy@bjaisi.com>
  • Loading branch information
dyzheng and dyzheng authored Jan 30, 2024
1 parent 2864d6e commit 9a86b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_hamilt_lcao/hamilt_lcaodft/hamilt_lcao.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class HamiltLCAO : public Hamilt<TK>
// special case for NSPIN=2 , data of HR should be separated into two parts
// save them in this->hRS2;
std::vector<TR> hRS2;
int refresh_times = 0;
int refresh_times = 1;

// sk and hk will be refactored to HamiltLCAO later
//std::vector<TK> sk;
Expand Down

0 comments on commit 9a86b0a

Please sign in to comment.