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

3
main.c
View File

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