Skip to content

Commit 79e7e03

Browse files
committed
== -> isapprox test
1 parent 0cf7b85 commit 79e7e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/others.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ end
1919
d1 = TuringDiagMvNormal(zeros(10), sigmas)
2020
d2 = MvNormal(zeros(10), sigmas)
2121

22-
@test entropy(d1) == entropy(d2)
22+
@test isapprox(entropy(d1), entropy(d2), rtol = 1e-6)
2323
end

0 commit comments

Comments
 (0)