Skip to content

Commit 5409b3e

Browse files
nickrobinson251oxinabox
authored andcommitted
Update src/ChainRulesTestUtils.jl
Co-Authored-By: Lyndon White <[email protected]>
1 parent 90367ab commit 5409b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ChainRulesTestUtils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function rrule_test(f, ȳ, xx̄s::Tuple{Any, Any}...; rtol=1e-9, atol=1e-9, fdm
177177
x̄s_fd = _make_fdm_call(fdm, f, ȳ, xs, x̄s .== nothing)
178178
for (x̄_ad, x̄_fd) in zip(x̄s_ad, x̄s_fd)
179179
if x̄_fd === nothing
180-
# The way we've structured the above, this tests that the rule is a DoesNotExistRule
180+
# The way we've structured the above, this tests the propagator is returning a DoesNotExist
181181
@test x̄_ad isa DoesNotExist
182182
else
183183
@test isapprox(x̄_ad, x̄_fd; rtol=rtol, atol=atol, kwargs...)

0 commit comments

Comments
 (0)