We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9d0160 commit 5373bdcCopy full SHA for 5373bdc
source/module_psi/psi.cpp
@@ -49,7 +49,7 @@ template <typename T, typename Device>
49
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)
50
{
51
assert(nk_in > 0);
52
- assert(nbd_in > 0);
+ assert(nbd_in >= 0); // 187_PW_SDFT_ALL_GPU && 187_PW_MD_SDFT_ALL_GPU
53
assert(nbs_in > 0);
54
55
this->k_first = k_first_in;
0 commit comments