Skip to content

Commit

Permalink
Merge branch 'deepmodeling:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
sunml99 committed Sep 8, 2022
2 parents 4cdfe86 + f73db98 commit d0c0e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_hsolver/hsolver_pw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void HSolverPW::hamiltSolvePsiK(hamilt::Hamilt* hm, psi::Psi<std::complex<double

void HSolverPW::update_precondition(std::vector<double> &h_diag, const int ik, const int npw)
{
h_diag.resize(h_diag.size(), 1.0);
h_diag.assign(h_diag.size(), 1.0);
int precondition_type = 2;
const double tpiba2 = this->wfc_basis->tpiba2;

Expand Down

0 comments on commit d0c0e76

Please sign in to comment.