From 2677568b3d2d0a43fc31d7258348a2c6bfe71718 Mon Sep 17 00:00:00 2001 From: Neil Toronto Date: Mon, 28 Apr 2014 01:14:01 -0600 Subject: [PATCH] Change test to use exact flonums instead of 0.1 --- pkgs/math-pkgs/math-test/math/tests/matrix-tests.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/math-pkgs/math-test/math/tests/matrix-tests.rkt b/pkgs/math-pkgs/math-test/math/tests/matrix-tests.rkt index 1a385dfbdf..5ec65dbbbe 100644 --- a/pkgs/math-pkgs/math-test/math/tests/matrix-tests.rkt +++ b/pkgs/math-pkgs/math-test/math/tests/matrix-tests.rkt @@ -698,8 +698,8 @@ ;; =================================================================================================== ;; Error -(for*: ([x (in-list '(-inf.0 -10.0 -1.0 -0.1 -0.0 0.0 0.1 1.0 10.0 +inf.0 +nan.0))] - [y (in-list '(-inf.0 -10.0 -1.0 -0.1 -0.0 0.0 0.1 1.0 10.0 +inf.0 +nan.0))]) +(for*: ([x (in-list '(-inf.0 -10.0 -1.0 -0.25 -0.0 0.0 0.25 1.0 10.0 +inf.0 +nan.0))] + [y (in-list '(-inf.0 -10.0 -1.0 -0.25 -0.0 0.0 0.25 1.0 10.0 +inf.0 +nan.0))]) (check-eqv? (fl (matrix-absolute-error (row-matrix [x]) (row-matrix [y]))) (fl (absolute-error x y))