diff options
author | Thomas White <taw@physics.org> | 2010-02-08 10:57:26 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-08 10:57:26 +0100 |
commit | 8e290108689f653a39dcd8769d7556652aee7dcd (patch) | |
tree | d90f7646cbb4d16ff9e158d14320ffb6016612b2 /src/pattern_sim.c | |
parent | 687eed4650e74a86f45cd533dd94a0a2ace1d1e8 (diff) |
Stop after the right number (fix iteration counting again)
Diffstat (limited to 'src/pattern_sim.c')
-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 ); |