Skip to content

Commit b97ee32

Browse files
committed
Use self._original_function when extracting function defaults
1 parent 0464abe commit b97ee32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adaptive/learner/sequence_learner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def to_dataframe(
179179
df.attrs["inputs"] = [index_name]
180180
df.attrs["output"] = y_name
181181
if with_default_function_args:
182-
assign_defaults(self.function, df, function_prefix)
182+
assign_defaults(self._original_function, df, function_prefix)
183183
return df
184184

185185
def load_dataframe(

0 commit comments

Comments
 (0)