From 36db03f3902943fdb27fa54f930baf6ad642426d Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Sun, 7 Sep 2014 05:31:40 -0700 Subject: [PATCH] tighten bounds on filter normalization test --- tests/resample_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/resample_test.cpp b/tests/resample_test.cpp index efcb380..5980c3f 100644 --- a/tests/resample_test.cpp +++ b/tests/resample_test.cpp @@ -614,7 +614,7 @@ void test_suite(int argc, char **argv) sums[3] += stbir__filter_bilinear(x+o); } for (i=0; i < 4; ++i) - STBIR_ASSERT(sums[i] >= 1.0 - 0.01 && sums[i] <= 1.0 + 0.01); + STBIR_ASSERT(sums[i] >= 1.0 - 0.001 && sums[i] <= 1.0 + 0.001); } #if 1