From 740576a76b0acf320632d64e12335c952b833d3e Mon Sep 17 00:00:00 2001 From: lxvm Date: Thu, 21 Sep 2023 01:05:56 -0400 Subject: [PATCH] make integral functions callable --- src/scimlfunctions.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scimlfunctions.jl b/src/scimlfunctions.jl index 997069573..c9aef6d0a 100644 --- a/src/scimlfunctions.jl +++ b/src/scimlfunctions.jl @@ -2397,6 +2397,8 @@ TruncatedStacktraces.@truncate_stacktrace BatchIntegralFunction 1 2 (f::ODEFunction)(args...) = f.f(args...) (f::NonlinearFunction)(args...) = f.f(args...) (f::IntervalNonlinearFunction)(args...) = f.f(args...) +(f::IntegralFunction)(args...) = f.f(args...) +(f::BatchIntegralFunction)(args...) = f.f(args...) function (f::DynamicalODEFunction)(u, p, t) ArrayPartition(f.f1(u.x[1], u.x[2], p, t), f.f2(u.x[1], u.x[2], p, t))