Skip to content

Commit 30b1aa4

Browse files
committed
fix bug
1 parent cf0cad7 commit 30b1aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_hamilt_pw/hamilt_pwdft/operator_pw/velocity_pw.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ void Velocity::act
4848
) const
4949
{
5050
ModuleBase::timer::tick("Operator", "Velocity");
51-
const int npw = psi_in->get_ngk(this->ik);
52-
// const int npw = psi_in->get_current_nbas();
51+
// const int npw = psi_in->get_ngk(this->ik);
52+
const int npw = psi_in->get_current_nbas();
5353
const int max_npw = psi_in->get_nbasis() / psi_in->npol;
5454
const int npol = psi_in->npol;
5555
const std::complex<double>* tmpsi_in = psi0;

0 commit comments

Comments
 (0)