Skip to content
Snippets Groups Projects
Commit a42228ad authored by John Helly's avatar John Helly
Browse files

Abort if invoke_fof=1 but --fof flag was not used

parent cbd21108
Branches
Tags
1 merge request!1190Run FOF on snapshots with or without seeding black holes
...@@ -1055,6 +1055,9 @@ int main(int argc, char *argv[]) { ...@@ -1055,6 +1055,9 @@ int main(int argc, char *argv[]) {
printf("Error: Cannot perform FOF seeding without black holes being in use\n"); printf("Error: Cannot perform FOF seeding without black holes being in use\n");
return 1; return 1;
} }
} else {
if(e.snapshot_invoke_fof)
error("Error: Must run with --fof if Snapshots::invoke_fof=1\n");
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment