diff --git a/src/parallel_io.c b/src/parallel_io.c index 0d7c0d5c3ca44af56a164421622af1115038bb7f..66c9203e39e56d520eeace8858b0c618b45e6a22 100644 --- a/src/parallel_io.c +++ b/src/parallel_io.c @@ -487,8 +487,9 @@ void read_ic_parallel(char* fileName, const struct UnitSystem* internal_units, } /* Convert the dimensions of the box */ - for (int j = 0; j<3 ; j++) - dim[j] *= units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); + for (int j = 0; j < 3; j++) + dim[j] *= + units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); /* Allocate memory to store SPH particles */ *Ngas = N[0]; diff --git a/src/serial_io.c b/src/serial_io.c index ab4a81a8f1360e9738efa76465bde29cb2abcf26..b9ad0fbaa856a889d3f84bb42013282f3640fd5e 100644 --- a/src/serial_io.c +++ b/src/serial_io.c @@ -529,8 +529,9 @@ void read_ic_serial(char* fileName, const struct UnitSystem* internal_units, } /* Convert the dimensions of the box */ - for (int j = 0; j<3 ; j++) - dim[j] *= units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); + for (int j = 0; j < 3; j++) + dim[j] *= + units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); /* Now need to broadcast that information to all ranks. */ MPI_Bcast(flag_entropy, 1, MPI_INT, 0, comm); diff --git a/src/single_io.c b/src/single_io.c index 6d752388ad088117a9bdf3e84de312338d5bb7a6..ceeba4eb80a47c3feed7e898deb5e1fe7e427c0c 100644 --- a/src/single_io.c +++ b/src/single_io.c @@ -434,8 +434,9 @@ void read_ic_single(char* fileName, const struct UnitSystem* internal_units, } /* Convert the dimensions of the box */ - for (int j = 0; j<3 ; j++) - dim[j] *= units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); + for (int j = 0; j < 3; j++) + dim[j] *= + units_conversion_factor(ic_units, internal_units, UNIT_CONV_LENGTH); /* Allocate memory to store SPH particles */ *Ngas = N[0];