Skip to content

Commit 73c5a1a

Browse files
Update MATLABDiffEq.jl
1 parent 11bf4ac commit 73c5a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MATLABDiffEq.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function solve{uType,tType,isinplace,AlgType<:MATLABAlgorithm,F}(
1919
saveat=tType[],timeseries_errors=true,reltol = 1e-3, abstol = 1e-6,
2020
kwargs...)
2121

22-
if !(typeof(prob.f) <: ParameterizedFunction)
22+
if !(typeof(prob.f) <: AbstractParameterizedFunction)
2323
error("Functions must be defined via ParameterizedFunctions.jl to work with this package.")
2424
end
2525

0 commit comments

Comments
 (0)