Skip to content

Commit f5691e1

Browse files
Jammy2211claude
authored andcommitted
fix: pass xp to bare-Model fallback in af.ex.Analysis.model_data_1d_from
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8540252 commit f5691e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autofit/example/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def model_data_1d_from(self, instance: af.ModelInstance) -> np.ndarray:
109109
except AttributeError:
110110
pass
111111
except TypeError:
112-
model_data_1d += instance.model_data_from(xvalues=xvalues)
112+
model_data_1d += instance.model_data_from(xvalues=xvalues, xp=self._xp)
113113

114114
return model_data_1d
115115

0 commit comments

Comments
 (0)