We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efd4c0e commit 3c5111fCopy full SHA for 3c5111f
Project.toml
@@ -12,7 +12,7 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df"
12
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
13
14
[compat]
15
-ChainRulesCore = "0.9.26"
+ChainRulesCore = "0.9.29"
16
ChainRulesTestUtils = "0.6.1"
17
Compat = "3"
18
FiniteDifferences = "0.11, 0.12"
test/rulesets/Random/random.jl
@@ -46,7 +46,7 @@ Random.rand(d::NormalDistribution) = d.μ + d.σ*randn()
46
x, pb = rrule(rand, args...)
47
@test x isa xType
48
dself, dargs = Iterators.peel(pb(10.0))
49
- @test dself isa Zero
+ @test iszero(dself)
50
@test all(darg isa DoesNotExist for darg in dargs)
51
end
52
0 commit comments