Skip to content

Commit

Permalink
fix hsolver with fixed_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanchen committed Jun 8, 2024
1 parent 0140e99 commit 7f07c2f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/module_hsolver/test/hsolver_supplementary_mock.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const double* ElecState::getRho(int spin) const
return &(this->charge->rho[spin][0]);
}

void ElecState::fixed_weights(const std::vector<double>& ocp_kb)
void ElecState::fixed_weights(const std::vector<double>& ocp_kb,
const int &nbands,
const double &nelec);
{
return;
}
Expand Down Expand Up @@ -103,4 +105,4 @@ WF_atomic::WF_atomic()
}
WF_atomic::~WF_atomic()
{
}
}

0 comments on commit 7f07c2f

Please sign in to comment.