Commit d7e82be9 authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

excluded iter 0 from saving

parent 83f8f0a1
rules.txt
config.c
collide.c
hpprp
......
......@@ -156,7 +156,7 @@ int main()
{
swap_buffers();
if (iter%SAVE_PERIOD==0) {
if (iter>0 && iter%SAVE_PERIOD==0) {
save(iter);
printf("%d/%d\r", iter, ITERS);
fflush(stdout);
......
Markdown is supported
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