Skip to content

Commit

Permalink
small fix in LR
Browse files Browse the repository at this point in the history
  • Loading branch information
maki49 committed Sep 27, 2024
1 parent ba0cb21 commit 26178c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/module_lr/operator_casida/operator_lr_exx.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace LR
const int& naos;
const int& nocc;
const int& nvirt;
const double& alpha;
const double alpha = 1.0; //(allow non-ref constant)
const bool cal_dm_trans = false;
const bool tdm_sym = false; ///< whether transition density matrix is symmetric
const K_Vectors& kv;
Expand Down
1 change: 1 addition & 0 deletions source/module_ri/Exx_LRI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ void Exx_LRI<Tdata>::cal_exx_ions(const bool write_cv)
list_As_Vs.first, list_As_Vs.second[0],
{{"writable_Vws",true}});
this->cv.Vws = LRI_CV_Tools::get_CVws(Vs);
if (write_cv && GlobalV::MY_RANK == 0) { LRI_CV_Tools::write_Vs_abf(Vs, PARAM.globalv.global_out_dir + "Vs"); }
this->exx_lri.set_Vs(std::move(Vs), this->info.V_threshold);

if(PARAM.inp.cal_force || PARAM.inp.cal_stress)
Expand Down

0 comments on commit 26178c9

Please sign in to comment.