From 48e99f3c09f49d0f16e8f111272faf3b5c307108 Mon Sep 17 00:00:00 2001 From: jdub Date: Wed, 20 Sep 2023 14:16:46 +0800 Subject: [PATCH] fix in phi handler --- src/libs/pestpp_common/EnsembleMethodUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/pestpp_common/EnsembleMethodUtils.cpp b/src/libs/pestpp_common/EnsembleMethodUtils.cpp index 3c9bf7fa..1804263c 100644 --- a/src/libs/pestpp_common/EnsembleMethodUtils.cpp +++ b/src/libs/pestpp_common/EnsembleMethodUtils.cpp @@ -2983,7 +2983,7 @@ map> L2PhiHandler::get_swr_real_map(ObservationEnsembl { resid = get_obs_resid(oe,true); } - if else (ptype == phiType::ACTUAL) + else if (ptype == phiType::ACTUAL) { resid = get_actual_obs_resid(oe); }