tighten bounds on filter normalization test
This commit is contained in:
parent
7f8ac35e42
commit
36db03f390
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user