You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
The clojure framework's approx= test utility function (defined in contrib/clojure-package/test/org/apache/clojure_mxnet/util_test.clj) is unable to detect differences between arrays if they are of different sizes and the difference occurs in the excess.
For example, this returns true, but should return false:
(approx= 1e-9 [1 1 1] [1 1 1 9 9 9])
This means that tests that use approx= in the clojure test suite can incorrectly succeed.
The text was updated successfully, but these errors were encountered:
Description
The clojure framework's
approx=
test utility function (defined incontrib/clojure-package/test/org/apache/clojure_mxnet/util_test.clj
) is unable to detect differences between arrays if they are of different sizes and the difference occurs in the excess.For example, this returns true, but should return false:
This means that tests that use
approx=
in the clojure test suite can incorrectly succeed.The text was updated successfully, but these errors were encountered: