Skip to content
Snippets Groups Projects
Commit fc698d52 authored by Ke Liu's avatar Ke Liu
Browse files

bug fix: checkpoint file name handling in learn.cpp

parent 205166bb
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ int main(int argc, char** argv)
phase_point first_point;
if (parameters.is_restored()) {
std::string checkpoint_file = parameters["checkpoint"].as<std::string>();
std::string checkpoint_file = alps::origin_name(parameters);
alps::hdf5::archive cp(checkpoint_file, "r");
first_point = process_archive(cp);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment