Skip to content

Commit 446533f

Browse files
Merge pull request #528 from AayushSabharwal/as/subtyping
fix: make `AbstractBasis` subtype `AbstractTimeDependentSystem`
2 parents 745c246 + 85d1e25 commit 446533f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DataDrivenDiffEq.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using Parameters
1313
using Setfield
1414

1515
@reexport using ModelingToolkit
16-
using ModelingToolkit: AbstractSystem
16+
using ModelingToolkit: AbstractSystem, AbstractTimeDependentSystem
1717
using SymbolicUtils: operation, arguments, iscall, issym
1818
using Symbolics
1919
using Symbolics: scalarize, variable, value
@@ -66,7 +66,7 @@ const __EMPTY_VECTOR = Vector(undef, 0)
6666

6767
# Basis with an indicator for implicit use
6868
abstract type AbstractDataDrivenFunction{Bool, Bool} end
69-
abstract type AbstractBasis <: AbstractSystem end
69+
abstract type AbstractBasis <: AbstractTimeDependentSystem end
7070

7171
# Collect the DataInterpolations Methods into an Interpolation Type
7272
abstract type AbstractInterpolationMethod end

0 commit comments

Comments
 (0)