]> granicus.if.org Git - libvpx/commitdiff
Fix naming mistake in multiply_mat
authorSarah Parker <sarahparker@google.com>
Tue, 20 Sep 2016 22:37:15 +0000 (15:37 -0700)
committerSarah Parker <sarahparker@google.com>
Tue, 20 Sep 2016 22:37:15 +0000 (15:37 -0700)
This was introduced in a cleanup in
I1e07ccab18558dfdd996547a72a396abe02ed23d

Change-Id: If6ac798d838a1ad392981f4e5970778207c3cb0b

av1/encoder/ransac.c

index a6533cad290dd85bcf232973c75a90d3deb48310..86177a0a4eac35cd4a57e791693d63f827413bba 100644 (file)
@@ -56,7 +56,7 @@ static void multiply_mat(const double *m1, const double *m2, double *res,
     for (col = 0; col < m2_cols; ++col) {
       sum = 0;
       for (inner = 0; inner < inner_dim; ++inner)
-        sum += m1[row * m1_rows + inner] * m2[inner * m2_cols + col];
+        sum += m1[row * inner_dim + inner] * m2[inner * m2_cols + col];
       *(res++) = sum;
     }
   }