Skip to content

Commit c94ccd8

Browse files
oxinaboxmzgubic
andcommitted
Update src/testers.jl
Co-authored-by: Miha Zgubic <mzgubic@users.noreply.github.com>
1 parent 42e1f1b commit c94ccd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/testers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ function test_rrule(
250250
)
251251
@test_msg(
252252
"The pullback should return 1 cotangent for the primal and each primal input.",
253-
length(ad_cotangents) == 1 + length(args)
253+
length(ad_cotangents) == length(primals)
254254
)
255255

256256
# Correctness testing via finite differencing.

0 commit comments

Comments
 (0)