diff options
-rw-r--r-- | src/pattern_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 5fd71fc1..d0aad29b 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -307,7 +307,7 @@ int main(int argc, char *argv[]) ndone++; - if ( n_images && (ndone > n_images) ) done = 1; + if ( n_images && (ndone >= n_images) ) done = 1; } while ( !done ); |