Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/scimlfunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2644,6 +2644,26 @@ function Base.getproperty(f::DynamicalDDEFunction, name::Symbol)
end

(f::SDEFunction)(args...) = f.f(args...)

@static if isdefined(SciMLOperators, :isv1)
function (f::SDEFunction)(du, u, p, t)
if f.f isa AbstractSciMLOperator
f.f(du, u, u, p, t)
else
f.f(du, u, p, t)
end
end

function (f::SDEFunction)(u, p, t)
if f.f isa AbstractSciMLOperator
f.f(u, u, p, t)
else
f.f(u, p, t)
end
end
end


(f::SDDEFunction)(args...) = f.f(args...)
(f::SplitSDEFunction)(u, p, t) = f.f1(u, p, t) + f.f2(u, p, t)

Expand Down
Loading