Error with `collocate_data` with `DataInterpolations`
Closed this issue ยท 1 comments
martincornejo commented
Describe the bug ๐
Collocation with interpolators throws an error since DataInterpolations
is not imported.
Minimal Reproducible Example ๐
x = randn(1001) |> cumsum
t = collect(0.0:1000)
t2 = collect(0.0:10:1000)
collocate_data(x, t, t2, CubicSpline)
Error & Stacktrace
ERROR: UndefVarError: `DataInterpolations` not defined
Stacktrace:
[1] collocate_data(::Matrix{Float64}, ::Vector{Float64}, ::Vector{Float64}, ::Type)
@ DiffEqFlux C:\Users\Cornejo\.julia\packages\DiffEqFlux\TglmB\src\collocation.jl:117
[2] collocate_data(::Vector{Float64}, ::Vector{Float64}, ::Vector{Float64}, ::Type)
@ DiffEqFlux C:\Users\Cornejo\.julia\packages\DiffEqFlux\TglmB\src\collocation.jl:106
[3] top-level scope
@ REPL[73]:1
ChrisRackauckas commented
Fixed in #936, should be released in about a week. Thanks for the report.