You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I suspect that's because of the undefined result of floor(3./3.) that is called in resize_image(). Maybe you should add some small shifts to make this well-defined.
The test TEST(ResizeImage, NearestNeighborInterp) fails on Debian on i386 architectures [1].
The image gets resized to this:
000011100
000011100
000011100
111111111
111111111
111111111
000011100
000011100
000011100
instead of the expected
000111000
000111000
000111000
111111111
111111111
111111111
000111000
000111000
000111000
I suspect that's because of the undefined result of floor(3./3.) that is called in resize_image(). Maybe you should add some small shifts to make this well-defined.
Best,
Tobias
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765291
The text was updated successfully, but these errors were encountered: