Commit b138dbde authored by Kirill Kornyakov's avatar Kirill Kornyakov

bugfix in warpAffine, correct buffer size should be used

parent 412e7a83
......@@ -159,7 +159,7 @@ static const void* initInterTab2D( int method, bool fixpt )
if( !inittab[method] )
{
AutoBuffer<float> _tab(INTER_TAB_SIZE);
AutoBuffer<float> _tab(8*INTER_TAB_SIZE);
int i, j, k1, k2;
initInterTab1D(method, _tab, INTER_TAB_SIZE);
for( i = 0; i < INTER_TAB_SIZE; i++ )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment