diff --git a/Project.toml b/Project.toml index 1e2aa10..2fd5319 100644 --- a/Project.toml +++ b/Project.toml @@ -19,7 +19,7 @@ SymbolicIndexingInterface = "2efcf032-c050-4f8e-a9bb-153293bab1f5" [compat] CommonSolve = "0.2.4" ConcreteStructs = "0.2.3" -DiffEqBase = "6.210.1" +DiffEqBase = "6.210.1, 7.5" LinearAlgebra = "1" PrecompileTools = "1.2.1" SciMLBase = "2.153, 3.18" diff --git a/src/DifferenceEquations.jl b/src/DifferenceEquations.jl index 8868f85..95cea87 100644 --- a/src/DifferenceEquations.jl +++ b/src/DifferenceEquations.jl @@ -2,12 +2,11 @@ module DifferenceEquations using CommonSolve: CommonSolve, solve, init, solve! using ConcreteStructs: @concrete -using DiffEqBase: DiffEqBase, DEProblem, get_concrete_u0, get_concrete_p, isconcreteu0, - promote_u0 +using DiffEqBase: DiffEqBase, get_concrete_u0, get_concrete_p, isconcreteu0, promote_u0 using LinearAlgebra: LinearAlgebra, Diagonal, NoPivot, Symmetric, cholesky, cholesky!, dot, ldiv!, mul!, transpose! -using SciMLBase: SciMLBase, @add_kwonly, NullParameters, promote_tspan, AbstractRODESolution, - ODEFunction, remake, ConstantInterpolation, build_solution, ReturnCode +using SciMLBase: SciMLBase, @add_kwonly, NullParameters, promote_tspan, AbstractDEProblem, + AbstractRODESolution, ODEFunction, remake, ConstantInterpolation, build_solution, ReturnCode using StaticArrays: StaticArrays, SVector, SMatrix, StaticMatrix, ismutable using SymbolicIndexingInterface: SymbolicIndexingInterface, SymbolCache, variable_index diff --git a/src/problems/state_space_problems.jl b/src/problems/state_space_problems.jl index ce20305..fd3b677 100644 --- a/src/problems/state_space_problems.jl +++ b/src/problems/state_space_problems.jl @@ -1,12 +1,12 @@ """ - AbstractStateSpaceProblem <: DEProblem + AbstractStateSpaceProblem <: AbstractDEProblem Abstract supertype for all discrete-time state-space problems in DifferenceEquations.jl. Subtypes include [`LinearStateSpaceProblem`](@ref), [`QuadraticStateSpaceProblem`](@ref), [`PrunedQuadraticStateSpaceProblem`](@ref), and [`StateSpaceProblem`](@ref). """ -abstract type AbstractStateSpaceProblem <: DEProblem end +abstract type AbstractStateSpaceProblem <: AbstractDEProblem end # TODO: Can add in more checks on the algorithm choice DiffEqBase.check_prob_alg_pairing(prob::AbstractStateSpaceProblem, alg) = nothing diff --git a/src/solve.jl b/src/solve.jl index d4a385f..d06263c 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -1,6 +1,7 @@ -using DiffEqBase: DEAlgorithm, KeywordArgSilent +using DiffEqBase: KeywordArgSilent +using SciMLBase: AbstractDEAlgorithm -abstract type AbstractDifferenceEquationAlgorithm <: DEAlgorithm end +abstract type AbstractDifferenceEquationAlgorithm <: AbstractDEAlgorithm end """ DirectIteration() diff --git a/test/Project.toml b/test/Project.toml index 7a1c403..e331aab 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -21,11 +21,11 @@ DifferenceEquations = {path = ".."} [compat] DataFrames = "1.8.2" DelimitedFiles = "1.9.1" -DiffEqBase = "6.210.1" +DiffEqBase = "6.210.1, 7.5" DifferenceEquations = "1.0.0" Distributions = "0.25.126" -Enzyme = "0.13" -EnzymeTestUtils = "0.2" +Enzyme = "0.13.100" +EnzymeTestUtils = "0.2.4" FiniteDifferences = "0.12.34" ForwardDiff = "1.4.0" Plots = "1.41.6"