Skip to content

Commit

Permalink
fix in localize how removal
Browse files Browse the repository at this point in the history
  • Loading branch information
jdub authored and jdub committed May 19, 2023
1 parent 72f24b0 commit f29d2ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmarks/basic_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ def build_and_draw_prior(t_d="ends",num_reals=500):
#glm_long_name_test()
#sen_plusplus_test()
#parchglim_test()
#unc_file_test()
unc_file_test()
#cmdline_test()
#secondary_marker_test()
#basic_test("ies_10par_xsec")
Expand Down Expand Up @@ -1382,7 +1382,7 @@ def build_and_draw_prior(t_d="ends",num_reals=500):
#mf6_v5_sen_test()

#shutil.copy2(os.path.join("..","exe","windows","x64","Debug","pestpp-opt.exe"),os.path.join("..","bin","win","pestpp-opt.exe"))
mf6_v5_opt_stack_test()
#mf6_v5_opt_stack_test()
#mf6_v5_glm_test()
#mf6_v5_ies_test()
#cmdline_test()
Expand Down
6 changes: 5 additions & 1 deletion src/libs/pestpp_common/Localizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ bool Localizer::initialize(PerformanceLog *performance_log, ofstream& frec, bool
}

how = How::PARAMETERS;
if (how_str[0] == 'O')
if (how_str[0] == 'P')
{

}
else if (how_str[0] == 'O')
{
ss.str("");
ss << "WARNING: localization 'how' by observations is deprecated, resetting to 'how' by parameters";
Expand Down

0 comments on commit f29d2ba

Please sign in to comment.