Skip to content

Commit 396b379

Browse files
committed
fix bug
1 parent 6d0e31d commit 396b379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/source_hamilt/module_xc/xc_functional_libxc_tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ std::pair<double,ModuleBase::matrix> XC_Functional_Libxc::convert_vtxc_v(
193193
const double tpiba,
194194
const Charge* const chr)
195195
{
196-
assert(nrxx>0);
196+
// assert(nrxx>0); // will cause error
197197
double vtxc = 0.0;
198198
ModuleBase::matrix v(nspin, nrxx);
199199

0 commit comments

Comments
 (0)