diff options
Diffstat (limited to 'tabulator-mpi/worker.cpp')
-rw-r--r-- | tabulator-mpi/worker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tabulator-mpi/worker.cpp b/tabulator-mpi/worker.cpp index 511a27a..486d107 100644 --- a/tabulator-mpi/worker.cpp +++ b/tabulator-mpi/worker.cpp @@ -1,4 +1,5 @@ #include <lib94/lib94.hpp> +#include <cassert> #include <ctime> #include <mpi.h> @@ -15,7 +16,7 @@ static void do_round(const lib94::warrior *w1, const lib94::warrior *w2, int &w1 lib94::clear_core(background); - lib94::init_round(ws, 2); + assert(lib94::init_round(ws, 2)); for (int i = 0; i < STEPS_TO_TIE; ++i) { const lib94::warrior *result = lib94::single_step<false>(); |