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 5a73283 commit 4e412bd
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 @@ -288,7 +288,7 @@ public void run(String paramString) {
}


if(bIntermediateAverage && bSaveIntermediate)
if(bIntermediateAverage && bSaveIntermediate && nIterN>0)
{
DirectoryChooser dc = new DirectoryChooser ( "Choose a folder to save intermediate averages..." );
sPathIntermediate = dc.getDirectory();
Expand Down

0 comments on commit 4e412bd

Please sign in to comment.