Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doctest/extensions/doctest_mpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/doctest/extensions/doctest_mpi.h b/doctest/extensions/doctest_mpi.h
index 152b92da..1552458e 100644
--- a/doctest/extensions/doctest_mpi.h
+++ b/doctest/extensions/doctest_mpi.h
@@ -21,7 +21,7 @@ int nb_test_cases_skipped_insufficient_procs = 0;
// Record size of MPI_COMM_WORLD with mpi_comm_world_size()
// so that it can be compared to the MPI_Comm_size value
// once MPI_Init_thread has been called
-int world_size_before_init = -1;
+int world_size_before_init = 1;
std::string thread_level_to_string(int thread_lvl);