Commit 90463b78 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Fix syntax typo

parent ede2d290
......@@ -932,7 +932,8 @@ void prepare_file(struct engine* e, const char* baseName, long long N_total[6],
/* Print the gravity parameters */
if (e->policy & engine_policy_cosmology) {
h_grp = H5Gcreate(h_file, "/Cosmology", H5P_DEFAULT, H5P_DEFAULT,
H5P_DEFAULT) if (h_grp < 0)
if (h_grp < 0)
error("Error while creating cosmology group");
cosmology_write_model(h_grp, e->cosmology);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment