diff --git a/autofit/example/analysis.py b/autofit/example/analysis.py index 677e2f08c..8ed8a5ffd 100644 --- a/autofit/example/analysis.py +++ b/autofit/example/analysis.py @@ -109,7 +109,7 @@ def model_data_1d_from(self, instance: af.ModelInstance) -> np.ndarray: except AttributeError: pass except TypeError: - model_data_1d += instance.model_data_from(xvalues=xvalues) + model_data_1d += instance.model_data_from(xvalues=xvalues, xp=self._xp) return model_data_1d