From 5a48eef533e251c62c2790dc5d5a69fc972c9ae4 Mon Sep 17 00:00:00 2001 From: nikohansen Date: Fri, 22 Apr 2022 13:35:01 +0200 Subject: [PATCH] fix #2106 commit 6294fda for using maxfgevals in constrained case by postponing the call to computeERTfromEvals --- code-postprocessing/cocopp/pproc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-postprocessing/cocopp/pproc.py b/code-postprocessing/cocopp/pproc.py index eb097c97e..478a78831 100644 --- a/code-postprocessing/cocopp/pproc.py +++ b/code-postprocessing/cocopp/pproc.py @@ -2294,7 +2294,7 @@ def append(self, o, check_data_type=False): i.finalfunvals = numpy.r_[i.finalfunvals, o.finalfunvals] i._evals = alignArrayData(HArrayMultiReader([i._evals, o._evals])) i._maxevals = numpy.r_[i._maxevals, o._maxevals] - i.computeERTfromEvals() + # i.computeERTfromEvals() # breaks with constrained testbed and there is no need to do this now as .ert is now a property i.reference_values.update(o.reference_values) if getattr(i, 'pickleFile', False): i.modsFromPickleVersion = True