tighten bounds on filter normalization test

This commit is contained in:
Sean Barrett 2014-09-07 05:31:40 -07:00
parent 7f8ac35e42
commit 36db03f390

View File

@ -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