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 44bbd96 commit 6d0e31dCopy full SHA for 6d0e31d
source/source_hamilt/module_xc/xc_functional_libxc_tools.cpp
@@ -134,7 +134,7 @@ std::vector<double> XC_Functional_Libxc::cal_sgn(
134
const std::vector<double> &rho,
135
const std::vector<double> &sigma)
136
{
137
- assert(nrxx>0);
+ //assert(nrxx>0); // adding this once will cause error in examples
138
std::vector<double> sgn(nrxx*nspin, 1.0);
139
// in the case of GGA correlation for polarized case,
140
// a cutoff for grho is required to ensure that libxc gives reasonable results
0 commit comments