Skip to content

Commit f41f6b2

Browse files
committed
fix compile error
1 parent e18e69a commit f41f6b2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

source/module_ri/Exx_LRI.hpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ void Exx_LRI<Tdata>::init(const MPI_Comm &mpi_comm_in,
5454
for( size_t T=0; T!=this->abfs.size(); ++T )
5555
{ GlobalC::exx_info.info_ri.abfs_Lmax = std::max( GlobalC::exx_info.info_ri.abfs_Lmax, static_cast<int>(this->abfs[T].size())-1 ); }
5656

57-
this->cv.set_orbitals(
58-
ucell,
59-
orb,
60-
this->lcaos, this->abfs, this->abfs_ccp,
61-
this->info.kmesh_times, this->info.ccp_rmesh_times );
62-
6357
this->cv.set_orbitals(ucell,
6458
orb,
6559
this->lcaos,
@@ -179,8 +173,8 @@ void Exx_LRI<Tdata>::cal_exx_ions(const UnitCell& ucell, const bool write_cv)
179173
}
180174
// const double chi = 1.0 / this->lambda;
181175
// dVs = this->evq.cal_dVs(chi, dVs);
182-
dVs = this->info.hybrid_beta ? LRI_CV_Tools::minus(dVs_full, dVs_sr)
183-
: dVs_full;
176+
dVs = this->info.hybrid_beta ? LRI_CV_Tools::minus(dVs, dVs_sr)
177+
: dVs;
184178
}
185179

186180
std::array<std::map<TA, std::map<TAC, RI::Tensor<Tdata>>>, Ndim>

0 commit comments

Comments
 (0)