From f29d2ba3d41ff26a635649a42658922a94b0e554 Mon Sep 17 00:00:00 2001 From: jdub Date: Fri, 19 May 2023 08:19:24 +0800 Subject: [PATCH] fix in localize how removal --- benchmarks/basic_tests.py | 4 ++-- src/libs/pestpp_common/Localizer.cpp | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/benchmarks/basic_tests.py b/benchmarks/basic_tests.py index 953c1326..9f5453e0 100644 --- a/benchmarks/basic_tests.py +++ b/benchmarks/basic_tests.py @@ -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") @@ -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() diff --git a/src/libs/pestpp_common/Localizer.cpp b/src/libs/pestpp_common/Localizer.cpp index 537688ca..d7b3e6a1 100644 --- a/src/libs/pestpp_common/Localizer.cpp +++ b/src/libs/pestpp_common/Localizer.cpp @@ -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";