File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def test_that_objective_auto_scaling_with_zero_objectives_fails(ever_config):
256256
257257def test_that_infinite_objectives_are_converted_to_nan (ever_config ):
258258 transforms = get_optimization_domain_transforms (
259- [c . to_ert_parameter_config () for c in ever_config .controls ],
259+ [param for c in ever_config .controls for param in c . to_ert_parameter_config () ],
260260 ever_config .create_ert_objectives_config (),
261261 ever_config .input_constraints ,
262262 ever_config .create_ert_output_constraints_config (),
@@ -363,7 +363,7 @@ def test_that_output_constraint_auto_scaling_with_zero_constraints_fails(ever_co
363363
364364def test_that_infinite_output_constraints_are_converted_to_nan (ever_config ):
365365 transforms = get_optimization_domain_transforms (
366- [c . to_ert_parameter_config () for c in ever_config .controls ],
366+ [param for c in ever_config .controls for param in c . to_ert_parameter_config () ],
367367 ever_config .create_ert_objectives_config (),
368368 ever_config .input_constraints ,
369369 ever_config .create_ert_output_constraints_config (),
You can’t perform that action at this time.
0 commit comments