Skip to content

Commit ace3fc3

Browse files
authored
fix exx restart dir (#6747)
1 parent f71921f commit ace3fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hamilt_lcao/hamilt_lcaodft/operator_lcao/op_exx_lcao.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ OperatorEXX<OperatorLCAO<TK, TR>>::OperatorEXX(HS_Matrix_K<TK>* hsk_in,
240240
else if (this->add_hexx_type == Add_Hexx_Type::R)
241241
{
242242
// read in Hexx(R)
243-
const std::string restart_HR_path = PARAM.globalv.global_readin_dir + "HexxR" + std::to_string(PARAM.globalv.myrank);
243+
const std::string restart_HR_path = GlobalC::restart.folder + "HexxR" + std::to_string(PARAM.globalv.myrank);
244244
bool all_exist = true;
245245
for (int is = 0; is < PARAM.inp.nspin; ++is)
246246
{

0 commit comments

Comments
 (0)