Skip to content
Snippets Groups Projects
Commit 061caeb0 authored by Ricardo Doll Lahuerta's avatar Ricardo Doll Lahuerta
Browse files

Exclusion Zone Bug Fix

parent 2730477c
No related branches found
No related tags found
No related merge requests found
Pipeline #35260 failed
......@@ -1387,7 +1387,7 @@ class EasyIpOptOptimizeDriver(drv.ScipyOptimizeDriver, EasyDriverBase):
self._rec_obj['fval'].append(self._objfunc(self.xi))
self._rec_obj['xi'].append(self.xi)
if self._level_fun is not None:
if self.zone_fun is not None:
list_lvl = []
for wt_i in range(self.n_wt):
list_lvl.append(self._level_fun(self.xi, wt_i)[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment