Skip to content

Commit 89fb726

Browse files
committed
update bessel_basis warning information
1 parent 52854d2 commit 89fb726

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/module_io/bessel_basis.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ void Bessel_Basis::readin_C4(
365365
if(!ifs)
366366
{
367367
GlobalV::ofs_warning << " File name : " << name << std::endl;
368-
ModuleBase::WARNING_QUIT("Bessel_Basis::readin_C4","Can not find file.");
368+
std::string fn = "Cannot find C4 file: " + name;
369+
ModuleBase::WARNING_QUIT("Bessel_Basis::readin_C4",fn);
369370
}
370371

371372
if (ModuleBase::GlobalFunc::SCAN_BEGIN(ifs, "<FILE>"))

0 commit comments

Comments
 (0)