Fix weight calculation for the last pixel in generic area resize.
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 18 Oct 2012 15:35:57 +0000 (19:35 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 18 Oct 2012 15:41:45 +0000 (19:41 +0400)
commite1c3ffb23fc473616269c261fcad3e98a531c168
tree550a31a31dd446f57540ea3e71067995819c947c
parent80f9bd864f86852f781faef50b3667cf463cb3d6
Fix weight calculation for the last pixel in generic area resize.

Also removed assigned only variable.
modules/imgproc/src/imgwarp.cpp