Fixed incomplete matrix initialization in HomographyRefineCallback.
authorRoman Donchenko <roman.donchenko@itseez.com>
Wed, 28 Aug 2013 09:20:14 +0000 (13:20 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Wed, 28 Aug 2013 09:20:14 +0000 (13:20 +0400)
modules/calib3d/src/fundam.cpp

index c58e822..27378c5 100644 (file)
@@ -259,6 +259,8 @@ public:
                 Jptr[8] = Jptr[9] = Jptr[10] = 0.;
                 Jptr[11] = Mx*ww; Jptr[12] = My*ww; Jptr[13] = ww;
                 Jptr[14] = -Mx*ww*yi; Jptr[15] = -My*ww*yi;
+
+                Jptr += 16;
             }
         }