Skip to content

Commit

Permalink
fix typing with a cast
Browse files Browse the repository at this point in the history
is this cheating lol
  • Loading branch information
wenbang24 committed Sep 3, 2024
1 parent 5b4993b commit 4d69542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysr/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2104,7 +2104,7 @@ def fit(
y,
Xresampled,
variable_names,
display_variable_names,
cast(ArrayLike[str], display_variable_names),
complexity_of_variables,
X_units,
y_units,
Expand Down

0 comments on commit 4d69542

Please sign in to comment.