From 56cea32f30a493182b84d708040783fae2cfb2d6 Mon Sep 17 00:00:00 2001 From: Xiang Song Date: Thu, 5 Oct 2023 13:05:36 -0700 Subject: [PATCH] update --- tests/unit-tests/gconstruct/test_transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-tests/gconstruct/test_transform.py b/tests/unit-tests/gconstruct/test_transform.py index d11d7ca91e..8a1d63d7ef 100644 --- a/tests/unit-tests/gconstruct/test_transform.py +++ b/tests/unit-tests/gconstruct/test_transform.py @@ -234,7 +234,7 @@ def test_fp_min_max_transform(input_dtype, out_dtype): feats[feats < min_val] = min_val feats = (feats-min_val)/(max_val-min_val) feats = feats if out_dtype is None else feats.astype(out_dtype) - assert_almost_equal(norm_feats, feats, decimal=6) + assert_almost_equal(norm_feats, feats, decimal=5) feats = np.random.randn(100, 1).astype(input_dtype) norm_feats = transform(feats)["test"]