diff --git a/examples/main.c b/examples/main.c index 25eaf92a39f5aa357879d014d4a9d1db320a4d18..bf7b43f0477b79c5ce0e5a225f00b61a6f90e47f 100644 --- a/examples/main.c +++ b/examples/main.c @@ -140,7 +140,7 @@ int main(int argc, char *argv[]) { error("Call to MPI_Comm_set_errhandler failed with error %i.", res); if (myrank == 0) printf("[0000] [00000.0] main: MPI is up and running with %i node(s).\n\n", - nr_nodes); + nr_nodes); if (nr_nodes == 1) { message("WARNING: you are running with one MPI rank."); message("WARNING: you should use the non-MPI version of this program."); diff --git a/src/partition.c b/src/partition.c index 1588aa2482b0f4584ca72a4992389292e2e48c37..f30e5d0ad3c9ce8750a39891b2527729d9ad3b5d 100644 --- a/src/partition.c +++ b/src/partition.c @@ -1071,8 +1071,9 @@ void partition_init(struct partition *partition, if (repartition->trigger <= 0) error("Invalid DomainDecomposition:trigger, must be greater than zero"); if (repartition->trigger < 2 && repartition->trigger >= 1) - error("Invalid DomainDecomposition:trigger, must be 2 or greater or less" - " than 1"); + error( + "Invalid DomainDecomposition:trigger, must be 2 or greater or less" + " than 1"); /* Fraction of particles that should be updated before a repartition * based on CPU time is considered. */