The fragment "!i==0" is less clear than "i!=0," and clang 3.4-SVN even
issues warnings about a possible problem. Checked with Jochen Hub (the
original author) and he agrees the new form is appropriate.
Change-Id: I640e2104b3aa2d740895ee1145e56b731b11350f
{
bExact = TRUE;
}
- if (((i%opt->stepchange) == 0 || i == 1) && !i == 0)
+ if (((i%opt->stepchange) == 0 || i == 1) && i != 0)
{
printf("\t%4d) Maximum change %e\n", i, maxchange);
}
printf("Switched to exact iteration in iteration %d\n", i);
}
calc_profile(profile, window, nwins, &opt, bExact);
- if (((i%opt.stepchange) == 0 || i == 1) && !i == 0)
+ if (((i%opt.stepchange) == 0 || i == 1) && i != 0)
{
printf("\t%4d) Maximum change %e\n", i, maxchange);
}