JuliaMath / JuliaMath/Interpolations.jl

Scaled `Lanczos` interpolator throws `MethodError` regarding the `lbound()` function

Open
#592 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
575
Forks
117
PR merge metrics
No merged PRs in 30d

Description

If I create a `ScaledInterpolation` with the `Lanczos` interpolator as follows
```julia
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.