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

Only read hydro properties when running with hydro

parent e8d27455
No related branches found
No related tags found
No related merge requests found
......@@ -360,7 +360,7 @@ int main(int argc, char *argv[]) {
/* Initialise the hydro properties */
struct hydro_props hydro_properties;
hydro_props_init(&hydro_properties, params);
if(with_hydro) hydro_props_init(&hydro_properties, params);
/* Read particles and space information from (GADGET) ICs */
char ICfileName[200] = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment