Skip to content

Commit 78f5f10

Browse files
committed
Check a few less inference
1 parent f2384d1 commit 78f5f10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/rulesets/Base/array.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ end
363363
# Reverse
364364
test_rrule(findmin, rand(10), output_tangent = (rand(), false))
365365
test_rrule(findmax, rand(10), output_tangent = (rand(), false))
366-
test_rrule(findmin, rand(5,3))
367-
test_rrule(findmax, rand(5,3))
366+
test_rrule(findmin, rand(5,3); check_inferred=false)
367+
test_rrule(findmax, rand(5,3); check_inferred=false)
368368
@test [0 0; 0 5] == unthunk(rrule(findmax, [1 2; 3 4])[2]((5.0, nothing))[2])
369369
@test [0 0; 0 5] == unthunk(rrule(findmax, [1 2; 3 4])[2]((5.0, NoTangent()))[2])
370370

@@ -386,7 +386,7 @@ end
386386

387387
# Reverse
388388
test_rrule(imum, rand(10))
389-
test_rrule(imum, rand(3,4))
389+
test_rrule(imum, rand(3,4); check_inferred=false)
390390
@gpu test_rrule(imum, rand(3,4), fkwargs=(dims=1,))
391391
test_rrule(imum, rand(3,4,5), fkwargs=(dims=(1,3),))
392392

0 commit comments

Comments
 (0)