Skip to content

Commit

Permalink
Merge pull request #116 from kp992/i-115
Browse files Browse the repository at this point in the history
Use `prefer_literal` flag in `overload`
  • Loading branch information
albop authored Jul 12, 2024
2 parents 16c106f + 4c808b9 commit e9cc804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpolation/splines/eval_splines.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _eval_spline():
pass


@overload(_eval_spline)
@overload(_eval_spline, prefer_literal=True)
def __eval_spline(grid, C, points, out=None, k=1, diff="None", extrap_mode="linear"):
kk = (k).literal_value
diffs = (diff).literal_value
Expand Down

0 comments on commit e9cc804

Please sign in to comment.