Skip to content

Commit

Permalink
Keep reproducibility of a workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejdlugosz committed Mar 5, 2024
1 parent c02d4b2 commit 193dd82
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kmc_CLI/kmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,7 @@ bool parse_parameters(int argc, char* argv[], Params& params)
input_file_names.push_back(s);

in.close();
std::random_device rd;
std::mt19937 gen(rd());
std::mt19937 gen;
std::shuffle(input_file_names.begin(), input_file_names.end(), gen);
}
stage1Params.SetInputFiles(input_file_names);
Expand Down

0 comments on commit 193dd82

Please sign in to comment.