Skip to content

Commit

Permalink
fix #2106 commit 6294fda for using maxfgevals in constrained case
Browse files Browse the repository at this point in the history
by postponing the call to computeERTfromEvals
  • Loading branch information
nikohansen committed Apr 22, 2022
1 parent 8f67623 commit 5a48eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-postprocessing/cocopp/pproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a48eef

Please sign in to comment.