Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ DataInterpolations = "4, 5, 6, 7, 8"
DiffEqBase = "6"
DocStringExtensions = "0.7, 0.8, 0.9"
MLUtils = "0.3, 0.4"
ModelingToolkit = "9"
ModelingToolkit = "10"
OrdinaryDiffEqTsit5 = "1"
Parameters = "0.12"
ProgressMeter = "1.6"
QuadGK = "2.4"
RecipesBase = "1"
Reexport = "1.0"
OrdinaryDiffEqTsit5 = "1"
SciMLStructures = "1"
Setfield = "1"
Statistics = "1"
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
DataDrivenDiffEq = "1"
Documenter = "1"
Literate = "2.14"
ModelingToolkit = "9"
ModelingToolkit = "10"
OrdinaryDiffEq = "6"
Plots = "1"
StableRNGs = "1"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/libs/datadrivensparse/example_04.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ using Test #src
end
end

@mtkbuild sys = Autoregulation()
@mtkcompile sys = Autoregulation()
tspan = (0.0, 5.0)
de_problem = ODEProblem{true, SciMLBase.NoSpecialize}(sys, [], tspan, [])
de_problem = ODEProblem{true, SciMLBase.NoSpecialize}(sys, [], tspan)
de_solution = solve(de_problem, Tsit5(), saveat = 0.005);
#md plot(de_solution)

Expand Down
4 changes: 2 additions & 2 deletions src/DataDrivenDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ using Parameters
using Setfield

@reexport using ModelingToolkit
using ModelingToolkit: AbstractSystem, AbstractTimeDependentSystem
using ModelingToolkit: AbstractSystem
using SciMLStructures: SciMLStructures as SS
using SymbolicUtils: operation, arguments, iscall, issym
using Symbolics
Expand Down Expand Up @@ -67,7 +67,7 @@ const __EMPTY_VECTOR = Vector(undef, 0)

# Basis with an indicator for implicit use
abstract type AbstractDataDrivenFunction{Bool, Bool} end
abstract type AbstractBasis <: AbstractTimeDependentSystem end
abstract type AbstractBasis <: AbstractSystem end

# Collect the DataInterpolations Methods into an Interpolation Type
abstract type AbstractInterpolationMethod end
Expand Down
4 changes: 2 additions & 2 deletions test/problem/problem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ end
end
end

@mtkbuild sys = Autoregulation()
@mtkcompile sys = Autoregulation()
tspan = (0.0, 5.0)
de_problem = ODEProblem{true, SciMLBase.NoSpecialize}(sys, [], tspan, [])
de_problem = ODEProblem{true, SciMLBase.NoSpecialize}(sys, [], tspan)
de_solution = solve(de_problem, Tsit5(), saveat = 0.005)
prob = DataDrivenProblem(de_solution)
@test is_valid(prob)
Expand Down
Loading