From 9c5ccc35c1c736f8a7a9fb7c421777bea1287404 Mon Sep 17 00:00:00 2001 From: Blunde1 Date: Fri, 1 Dec 2023 14:12:53 +0100 Subject: [PATCH] initialize sies object if it is None --- src/ert/analysis/_es_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/analysis/_es_update.py b/src/ert/analysis/_es_update.py index 78bec4c2edb..4fc3669d2f2 100644 --- a/src/ert/analysis/_es_update.py +++ b/src/ert/analysis/_es_update.py @@ -666,7 +666,7 @@ def analysis_IES( ) # if the algorithm object is not passed, initialize it - if sies_smoother is not None: + if sies_smoother is None: parameter_ensemble = _all_parameters( source_fs, iens_active_index, param_groups )