Skip to content

Commit 5373bdc

Browse files
committed
fix sdft bug
1 parent b9d0160 commit 5373bdc

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
@@ -49,7 +49,7 @@ template <typename T, typename Device>
4949
Psi<T, Device>::Psi(const int nk_in, const int nbd_in, const int nbs_in, const int* ngk_in, const bool k_first_in)
5050
{
5151
assert(nk_in > 0);
52-
assert(nbd_in > 0);
52+
assert(nbd_in >= 0); // 187_PW_SDFT_ALL_GPU && 187_PW_MD_SDFT_ALL_GPU
5353
assert(nbs_in > 0);
5454

5555
this->k_first = k_first_in;

0 commit comments

Comments
 (0)