Skip to content

Commit c0372aa

Browse files
committed
Bug fixes.
1 parent ede9bcc commit c0372aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/systems/systemstructure.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using SymbolicUtils: quick_cancel, similarterm
77
using ..ModelingToolkit
88
import ..ModelingToolkit: isdiffeq, var_from_nested_derivative, vars!, flatten,
99
value, InvalidSystemException, isdifferential, _iszero,
10-
isparameter, isconstant
10+
isparameter, isconstant,
1111
independent_variables, SparseMatrixCLIL, AbstractSystem,
1212
equations, isirreducible
1313
using ..BipartiteGraphs

test/constants.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Test
33
MT = ModelingToolkit
44

55
@constants a = 1
6-
@test_throws MT.MissingDefaultError @constants b
6+
@test_throws MT.ArgumentError @constants b
77

88
@variables t x(t) w(t)
99
D = Differential(t)

0 commit comments

Comments
 (0)