Hide iterations section if none were performed

This commit is contained in:
Patrick Lühne 2018-01-26 18:57:24 +01:00
parent 36472346f8
commit f0b59029d1
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

1
main.c
View File

@ -245,6 +245,7 @@ void printStatistics()
} }
if(flagOutputDIMACS == 0) { if(flagOutputDIMACS == 0) {
if (seqs[0].sati)
printf("iterations:\n"); printf("iterations:\n");
int i = 0; int i = 0;
while(i*outputTimeStep+firstTimePoint < lastTimePoint && seqs[i].sati) { while(i*outputTimeStep+firstTimePoint < lastTimePoint && seqs[i].sati) {