Skip to content

Commit 6285898

Browse files
committed
save
1 parent b84e4e1 commit 6285898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_rdmft/rdmft_tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ double getEnergy(const ModuleBase::matrix& occNum_wfcHwfc)
162162
// for HF, Muller and power functional, g(eta) = eta, eta^0.5, eta^alpha respectively.
163163
// when symbol = 0, 1, 2, 3, 4, 5, return eta, 0.5*eta, g(eta), 0.5*g(eta), d_g(eta)/d_eta, 1.0 respectively.
164164
// Default symbol=0, XC_func_rdmft="HF", alpha=0.656
165-
double occNum_func(double eta, int symbol, const std::string XC_func_rdmft, double alpha)
165+
double occNum_func(const double eta, const int symbol, const std::string XC_func_rdmft, double alpha)
166166
{
167167
// if( XC_func_rdmft == "hf" || XC_func_rdmft == "default" || XC_func_rdmft == "pbe0" ) alpha = 1.0;
168168
// else if( XC_func_rdmft == "muller" ) alpha = 0.5;

0 commit comments

Comments
 (0)