Skip to content

Commit 0339ba3

Browse files
committed
check bugs
1 parent d5634b3 commit 0339ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_psi/psi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void Psi<T, Device>::fix_k(const int ik) const
341341
{
342342
assert(ik >= 0);
343343
this->current_k = ik;
344-
if (this->ngk != nullptr && this->npol != 2)
344+
if (this->ngk != nullptr)
345345
{
346346
this->current_nbasis = this->ngk[ik];
347347
}

0 commit comments

Comments
 (0)