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

Scaled Lanczos interpolator throws MethodError regarding the lbound() function #592

Open
gruberchr opened this issue Apr 18, 2024 · 1 comment

Comments

@gruberchr
Copy link

If I create a ScaledInterpolation with the Lanczos interpolator as follows

using Interpolations

x = 0:0.1:1.0
A = randn(length(x))
itp = scale(interpolate(A, Lanczos()), x)

and try to interpolate, e.g. itp(0.33), a MethodError is thrown in the checkbounds() function. This error does not occur for the plain (unscaled) Lanczos interpolator.

It seems that an implementation of the function lbound() is missing for the scaled Lanczos interpolator.

@gruberchr gruberchr changed the title Scaled Lanczos interpolator throws MethodError for the lbound() function Scaled Lanczos interpolator throws MethodError regarding the lbound() function Apr 18, 2024
@mkitti
Copy link
Collaborator

mkitti commented Apr 22, 2024

I will look into this. Thank you for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants