Skip to content

Commit 0b0604c

Browse files
committed
fix bug
1 parent 67fda40 commit 0b0604c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/module_psi/psi.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,11 +300,11 @@ const int& Psi<T, Device>::get_cur_effective_basis() const
300300
{
301301
if (this->npol == 1)
302302
{
303-
if (this->ngk != nullptr)
304-
{
305-
return this->ngk[this->current_k];
306-
}
307-
else
303+
// if (this->ngk != nullptr)
304+
// {
305+
// return this->ngk[this->current_k];
306+
// }
307+
// else
308308
{
309309
return this->current_nbasis;
310310
}

0 commit comments

Comments
 (0)