Skip to content

Commit

Permalink
Merge branch 'feat_morediag' of https://github.com/jtwhite79/pestpp i…
Browse files Browse the repository at this point in the history
…nto feat_morediag
  • Loading branch information
jtwhite79 committed Nov 11, 2024
2 parents cc136f5 + cc04eac commit 6d03be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/pestpp_common/EnsembleSmoother.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void IterEnsembleSmoother::iterate_2_solution()
else
consec_bad_lambda_cycles++;

if (solution_iter % n_iter_mean == 0)
if ((n_iter_mean> 0) && (solution_iter % n_iter_mean == 0))
{
iter++;
reset_par_ensemble_to_prior_mean();
Expand Down

0 comments on commit 6d03be2

Please sign in to comment.