diff --git a/source/module_base/global_variable.cpp b/source/module_base/global_variable.cpp index b6ed81f3616..71c8db3d242 100644 --- a/source/module_base/global_variable.cpp +++ b/source/module_base/global_variable.cpp @@ -25,8 +25,8 @@ int NLOCAL = 0; // total number of local basis. double KSPACING[3] = {0.0,0.0,0.0}; double MIN_DIST_COEF = 0.2; -double PSEUDORCUT; -bool PSEUDO_MESH; +double PSEUDORCUT=0;//initialization +bool PSEUDO_MESH=0; std::string CALCULATION = "scf"; std::string ESOLVER_TYPE = "ksdft";