Commit 938bb822 authored by Thomas White's avatar Thomas White
Browse files

Fix counting of simulated images so that it works

parent 82170d86
......@@ -306,7 +306,9 @@ int main(int argc, char *argv[])
free(image.sfacs);
free(image.twotheta);
if ( n_images && (number >= n_images) ) done = 1;
number++;
if ( n_images && (number > n_images) ) done = 1;
} while ( !done );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment