|
14 | 14 | from autofit.non_linear.search.nest import abstract_nest |
15 | 15 | from autofit.non_linear.samples.sample import Sample |
16 | 16 | from autofit.non_linear.samples.nest import SamplesNest |
17 | | -from autogalaxy_workspace_test.jax_examples.func_grad import fitness |
18 | 17 |
|
19 | 18 | logger = logging.getLogger(__name__) |
20 | 19 |
|
@@ -225,7 +224,7 @@ def fit_x1_cpu(self, fitness, model, analysis): |
225 | 224 | **self.config_dict_search, |
226 | 225 | ) |
227 | 226 |
|
228 | | - return self.call_search(search_internal=search_internal, model=model, analysis=analysis) |
| 227 | + return self.call_search(search_internal=search_internal, model=model, analysis=analysis, fitness=fitness) |
229 | 228 |
|
230 | 229 | def fit_multiprocessing(self, fitness, model, analysis): |
231 | 230 | """ |
@@ -259,9 +258,9 @@ def fit_multiprocessing(self, fitness, model, analysis): |
259 | 258 | **self.config_dict_search, |
260 | 259 | ) |
261 | 260 |
|
262 | | - return self.call_search(search_internal=search_internal, model=model, analysis=analysis) |
| 261 | + return self.call_search(search_internal=search_internal, model=model, analysis=analysis, fitness=fitness) |
263 | 262 |
|
264 | | - def call_search(self, search_internal, model, analysis): |
| 263 | + def call_search(self, search_internal, model, analysis, fitness): |
265 | 264 | """ |
266 | 265 | The x1 CPU and multiprocessing searches both call this function to perform the non-linear search. |
267 | 266 |
|
|
0 commit comments