@@ -103,7 +103,7 @@ void Exx_LRI<Tdata>::cal_exx_ions(const UnitCell& ucell, const bool write_cv)
103103 {{" writable_Vws" , true }});
104104
105105 this ->cv .Vws = LRI_CV_Tools::get_CVws (ucell, Vs);
106- if (this ->info_ewald .use_ewald ) {
106+ if (this ->info .use_ewald ) {
107107 std::map<TA, std::map<TAC, RI::Tensor<Tdata>>> Vs_sr;
108108 if (this ->info .hybrid_beta ) {
109109 Vs_sr = this ->sr_cv .cal_Vs (ucell, list_As_Vs.first ,
@@ -116,7 +116,7 @@ void Exx_LRI<Tdata>::cal_exx_ions(const UnitCell& ucell, const bool write_cv)
116116 }
117117 this ->evq .init_ions (ucell, period_Vs);
118118
119- double chi = this ->evq .get_singular_chi (ucell, this ->info_ewald .fq_type , 2.0 );
119+ double chi = this ->evq .get_singular_chi (ucell, this ->info .fq_type , 2.0 );
120120 std::map<TA, std::map<TAC, RI::Tensor<Tdata>>> Vs_full
121121 = this ->evq .cal_Vs (ucell, chi, Vs);
122122 Vs_full = LRI_CV_Tools::mul2 (
@@ -137,7 +137,7 @@ void Exx_LRI<Tdata>::cal_exx_ions(const UnitCell& ucell, const bool write_cv)
137137 {{" writable_dVws" , true }});
138138 this ->cv .dVws = LRI_CV_Tools::get_dCVws (ucell, dVs);
139139
140- if (this ->info_ewald .use_ewald ) {
140+ if (this ->info .use_ewald ) {
141141 std::map<TA, std::map<TAC, std::array<RI::Tensor<Tdata>, Ndim>>>
142142 dVs_sr;
143143 if (this ->info .hybrid_beta ) {
0 commit comments