From 253cf21adac58f0a6634bdff6a604c1f6cdc6ef9 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Sat, 8 Mar 2025 07:24:57 +0000 Subject: [PATCH] Update sn3d.cc --- sn3d.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sn3d.cc b/sn3d.cc index 1e2552db4..c2054a78c 100644 --- a/sn3d.cc +++ b/sn3d.cc @@ -872,7 +872,7 @@ auto main(int argc, char *argv[]) -> int { // initialise or read in virtual packet spectra vpkt_init(globals::timestep, my_rank, globals::simulation_continued_from_saved); - while (globals::timestep < std::min(globals::timestep_finish, globals::ntimesteps - 1) && !terminate_early) { + while (globals::timestep < std::min(globals::timestep_finish, globals::ntimesteps) && !terminate_early) { MPI_Barrier(MPI_COMM_WORLD); // titer example: Do 3 iterations on timestep 0-6