Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect interpolate.CubicSpline.__init__ for the bc_type parameter #177

Closed
jorenham opened this issue Nov 17, 2024 · 0 comments · Fixed by #182
Closed

incorrect interpolate.CubicSpline.__init__ for the bc_type parameter #177

jorenham opened this issue Nov 17, 2024 · 0 comments · Fixed by #182
Assignees
Labels

Comments

@jorenham
Copy link
Owner

jorenham commented Nov 17, 2024

Argument bc_type should be

bc_type: (
    Literal["not-a-knot", "periodic", "clamped", "natural"] 
    | tuple[
        tuple[int, float | ArrayLike] | Literal["not-a-knot", "clamped", "natural"], 
        tuple[int, float | ArrayLike] | Literal["not-a-knot", "clamped", "natural"],
    ]
)

Originally posted by @berhoel in #101 (comment)

@jorenham jorenham changed the title The signature for interpolate._cubic.CubicSpline is wrong. incorrect interpolate.CubicSpline.__init__ for the bc_type parameter Nov 17, 2024
@jorenham jorenham self-assigned this Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant