Skip to content

Commit 2ccdbf2

Browse files
committed
Merge branch 'master' into myb/strong_alias
2 parents 11cb2e6 + 0ceecb6 commit 2ccdbf2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/ModelingToolkit.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import SymbolicUtils.Rewriters: Chain, Postwalk, Prewalk, Fixpoint
4141
import JuliaFormatter
4242

4343
using Reexport
44+
using Symbolics: degree
4445
@reexport using Symbolics
4546
export @derivatives
4647
using Symbolics: _parse_vars, value, @derivatives, get_variables,

test/linearize.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ desired_order = [f.x, p.x]
7373
lsys = ModelingToolkit.reorder_states(lsys, states(ssys), desired_order)
7474

7575
@test lsys.A == [-2 0; 1 -2]
76-
@test lsys.B == reshape([1; 0;;], 2, 1) # reshape required when testing on Julia v1.6
76+
@test lsys.B == reshape([1, 0], 2, 1)
7777
@test lsys.C == [0 1]
7878
@test lsys.D[] == 0
7979

0 commit comments

Comments
 (0)