Commit 5b3ebb8f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix IC reading test

parent 0ab47493
...@@ -27,6 +27,7 @@ int main() { ...@@ -27,6 +27,7 @@ int main() {
size_t Ngas = 0, Ngpart = 0; size_t Ngas = 0, Ngpart = 0;
int periodic = -1; int periodic = -1;
int flag_entropy_ICs = -1;
int i, j, k, n; int i, j, k, n;
double dim[3]; double dim[3];
struct part *parts = NULL; struct part *parts = NULL;
...@@ -39,7 +40,7 @@ int main() { ...@@ -39,7 +40,7 @@ int main() {
/* Read data */ /* Read data */
read_ic_single("input.hdf5", dim, &parts, &gparts, &Ngas, &Ngpart, &periodic, read_ic_single("input.hdf5", dim, &parts, &gparts, &Ngas, &Ngpart, &periodic,
0); &flag_entropy_ICs, 0);
/* Check global properties read are correct */ /* Check global properties read are correct */
assert(dim[0] == boxSize); assert(dim[0] == boxSize);
......
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