Skip to content

Commit 59f5ac0

Browse files
committed
typo
1 parent 5bbce83 commit 59f5ac0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
p̄_total = p̄g
224224
@test iszero(ā_total)
225225
@test iszero(b̄_total)
226-
@test iszero(p̄_total)
226+
@test isapprox(p̄_total, 1.0; rtol=1e-9)
227227
end
228228

229229
@testset "incomplete beta: basic test_frule/test_rrule" begin

0 commit comments

Comments
 (0)