Skip to content

Commit

Permalink
CompatHelper: bump compat for OrdinaryDiffEq to 6, (keep existing com…
Browse files Browse the repository at this point in the history
…pat) (#153)

* CompatHelper: bump compat for OrdinaryDiffEq to 6, (keep existing compat)

* Make 6.13 explicit

* Add the SciML traits for our solvers

Co-authored-by: CompatHelper Julia <[email protected]>
Co-authored-by: Nathanael Bosch <[email protected]>
  • Loading branch information
3 people authored May 27, 2022
1 parent 669c8eb commit e7b4602
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PSDMatrices = "fe68d972-6fd8-4755-bdf0-97d4c54cefdc"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
TaylorIntegration = "92b13dbe-c966-51a2-8445-caca9f8a7d42"
Expand All @@ -27,11 +28,12 @@ DiffEqDevTools = "2"
ForwardDiff = "0.10"
GaussianDistributions = "0.5"
Octavian = "0.3"
OrdinaryDiffEq = "6.2 - 6.12"
OrdinaryDiffEq = "6.2 - 6.13"
PSDMatrices = "0.4.2"
RecipesBase = "1"
RecursiveArrayTools = "2"
Reexport = "0.2, 1.0"
SciMLBase = "1.34"
StructArrays = "0.4,0.5, 0.6"
TaylorIntegration = "0.8, 0.9"
TaylorSeries = "0.10, 0.11, 0.12"
Expand Down
1 change: 1 addition & 0 deletions src/ProbNumDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ try
catch
import DiffEqBase.SciMLBase: interpret_vars, getsyms
end
using SciMLBase

import Base: copy, copy!, show, size, ndims, similar
stack(x) = copy(reduce(hcat, x)')
Expand Down
4 changes: 4 additions & 0 deletions src/alg_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ OrdinaryDiffEq.ispredictive(alg::AbstractEK) = false # not sure, maybe Gustafsso

# OrdinaryDiffEq.uses_uprev(alg::, adaptive::Bool) = adaptive
OrdinaryDiffEq.is_mass_matrix_alg(alg::AbstractEK) = true

SciMLBase.isautodifferentiable(alg::AbstractEK) = true
SciMLBase.allows_arbitrary_number_types(alg::AbstractEK) = true
SciMLBase.allowscomplex(alg::AbstractEK) = false

0 comments on commit e7b4602

Please sign in to comment.