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); }