Skip to content

Commit 94f1c3d

Browse files
test: fix repack test
1 parent 2811b1d commit 94f1c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mtkparameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ for (portion, values) in [(Tunable(), [1.0, 5.0, 6.0, 7.0])
5353
SciMLStructures.replace!(portion, ps, ones(length(buffer)))
5454
# make sure it is in-place
5555
@test all(isone, canonicalize(portion, ps)[1])
56-
repack(zeros(length(buffer)))
56+
global ps = repack(zeros(length(buffer)))
5757
@test all(iszero, canonicalize(portion, ps)[1])
5858
end
5959

0 commit comments

Comments
 (0)