Skip to content

Commit a0ab003

Browse files
committed
test: fix model parsing tests
1 parent 1026042 commit a0ab003

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ModelingToolkit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ function var_derivative_graph! end
142142
include("bipartite_graph.jl")
143143
using .BipartiteGraphs
144144

145+
export At
145146
include("variables.jl")
146147
include("parameters.jl")
147148
include("independent_variables.jl")

src/systems/discrete_system/discrete_system.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct DiscreteSystem <: AbstractDiscreteSystem
121121
tearing_state = nothing, substitutions = nothing, namespacing = true,
122122
complete = false, index_cache = nothing, parent = nothing,
123123
isscheduled = false;
124-
checks::Union{Bool, Int} = true)
124+
checks::Union{Bool, Int} = true, kwargs...)
125125
if checks == true || (checks & CheckComponents) > 0
126126
check_independent_variables([iv])
127127
check_variables(dvs, iv)
@@ -199,7 +199,7 @@ function DiscreteSystem(eqs::AbstractVector{<:Equation}, iv, dvs, ps;
199199
DiscreteSystem(Threads.atomic_add!(SYSTEM_COUNT, UInt(1)),
200200
eqs, iv′, dvs′, ps′, tspan, var_to_name, observed, name, description, systems,
201201
defaults, guesses, initializesystem, initialization_eqs, preface, connector_type,
202-
parameter_dependencies, metadata, gui_metadata, kwargs...)
202+
parameter_dependencies, metadata, gui_metadata)
203203
end
204204

205205
function DiscreteSystem(eqs, iv; kwargs...)

0 commit comments

Comments
 (0)