Skip to content

Commit fb7b076

Browse files
committed
fix compile
1 parent b9701f1 commit fb7b076

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

source/source_lcao/module_ri/RI_Util.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,6 @@ namespace RI_Util
8585
const double Rcut = std::pow(0.75 * p_kv->get_nkstot_full()/nspin0 * ucell.omega / (ModuleBase::PI), 1.0/3.0);
8686
param["Rcut"] = ModuleBase::GlobalFunc::TO_STRING(Rcut);
8787
}
88-
else if(param.at("singularity_correction") == "revised_spencer")
89-
{
90-
const double bvk_a1 = ucell.a1.norm() * p_kv->nmp[0];
91-
const double bvk_a2 = ucell.a2.norm() * p_kv->nmp[1];
92-
const double bvk_a3 = ucell.a3.norm() * p_kv->nmp[2];
93-
const double Rcut = 0.5 * std::min({bvk_a1, bvk_a2, bvk_a3});
94-
param["Rcut"] = ModuleBase::GlobalFunc::TO_STRING(Rcut);
95-
const double Rcut = std::pow(0.75 * p_kv->get_nkstot_full()/nspin0 * ucell.omega / (ModuleBase::PI), 1.0/3.0);
96-
param["Rcut"] = ModuleBase::GlobalFunc::TO_STRING(Rcut);
97-
}
9888
else if(param.at("singularity_correction") == "revised_spencer")
9989
{
10090
const double bvk_a1 = ucell.a1.norm() * p_kv->nmp[0];

0 commit comments

Comments
 (0)