Commit 8f90d8b5 authored by Sarah Parker's avatar Sarah Parker

Fix naming mistake in multiply_mat

This was introduced in a cleanup in
I1e07ccab18558dfdd996547a72a396abe02ed23d

Change-Id: If6ac798d838a1ad392981f4e5970778207c3cb0b
parent bda8d61e
......@@ -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;
}
}
......
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