Skip to content

Commit 6ebdffd

Browse files
committed
Fix MaskMulti test
1 parent 9cb3891 commit 6ebdffd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/projective/affine.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ end
137137
Image(rand(RGB, sz)),
138138
Keypoints(rand(SVector{2, Float32}, 50), sz),
139139
MaskBinary(rand(Bool, sz)),
140-
MaskMulti(rand(UInt8, sz)),
140+
MaskMulti(rand(1:8, sz)),
141141
)
142142

143143
tfms = compose(
@@ -155,7 +155,7 @@ end
155155
Image(rand(RGB, sz)),
156156
Keypoints(rand(SVector{3, Float32}, 50), sz),
157157
MaskBinary(rand(Bool, sz)),
158-
MaskMulti(rand(UInt8, sz)),
158+
MaskMulti(rand(1:8, sz)),
159159
)
160160

161161
tfms = compose(

0 commit comments

Comments
 (0)