Skip to content

Commit

Permalink
fixing zero iter number
Browse files Browse the repository at this point in the history
  • Loading branch information
ekatrukha committed Apr 23, 2024
1 parent 24e3725 commit 5a73283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/averagingND/IterativeAveraging.java
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public void run(String paramString) {
}
IJ.log("Iteration "+Integer.toString(iter+1)+" average CC " + df.format(avrgCC) +sTimeEl);

if(bIntermediateAverage)
if(bIntermediateAverage && nIterN>0)
{
processIntermediate(iter+1);
}
Expand Down

0 comments on commit 5a73283

Please sign in to comment.