Skip to content
Snippets Groups Projects
Commit aea2d1f1 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'master' into parallel_rebuild

parents 99c0b0e2 e7f3137a
Branches
Tags
2 merge requests!659Parallel rebuild2,!655Parallel rebuild
...@@ -378,7 +378,7 @@ void io_write_engine_policy(hid_t h_file, const struct engine* e) { ...@@ -378,7 +378,7 @@ void io_write_engine_policy(hid_t h_file, const struct engine* e) {
const hid_t h_grp = H5Gcreate1(h_file, "/Policy", 0); const hid_t h_grp = H5Gcreate1(h_file, "/Policy", 0);
if (h_grp < 0) error("Error while creating policy group"); if (h_grp < 0) error("Error while creating policy group");
for (int i = 1; i <= engine_maxpolicy; ++i) for (int i = 1; i < engine_maxpolicy; ++i)
if (e->policy & (1 << i)) if (e->policy & (1 << i))
io_write_attribute_i(h_grp, engine_policy_names[i + 1], 1); io_write_attribute_i(h_grp, engine_policy_names[i + 1], 1);
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment