Skip to content

Commit e552006

Browse files
author
Fei Yang
committed
fix relax_method parameter bug
1 parent 4cfd8f5 commit e552006

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/source_io/read_input_item_relax.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ void ReadInput::item_relax()
3131
ModuleBase::WARNING_QUIT("ReadInput", warningstr);
3232
}
3333
};
34+
sync_stringvec(input.relax_method, para.input.relax_method.size(), "");
3435
this->add_item(item);
3536

37+
3638
// Input_Item item("relax_method");
3739
// item.annotation = "cg; bfgs; sd; cg; cg_bfgs;";
3840
// read_sync_string(input.relax_method);

0 commit comments

Comments
 (0)