Skip to content

Commit

Permalink
fix for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
jtwhite79 committed May 2, 2024
1 parent c6df7ed commit 5c11b5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/pestpp_common/EnsembleMethodUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5676,7 +5676,8 @@ void EnsembleMethod::initialize(int cycle, bool run, bool use_existing)

//check to see if any explicit obs noise options are set
bool reset_to_nonoise = true;
if (ppo->get_passed_args().find("IES_NO_NOISE") != ppo->get_passed_args().end())
set<string> passed = ppo->get_passed_args();
if (passed.find("IES_NO_NOISE") != passed.end())
{
reset_to_nonoise = false;
}
Expand Down

0 comments on commit 5c11b5b

Please sign in to comment.