Skip to content

Commit 83534f7

Browse files
committed
Always use reshape to prevent misformat
Ref: domluna/JuliaFormatter.jl#620
1 parent f81a613 commit 83534f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)