Skip to content

Commit

Permalink
Address some review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmcclure committed Apr 16, 2024
1 parent 9078436 commit 18842c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nn_dot_product_matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ void nn_dot_product_matrix(const float a[NN_MATRIX_MAX_ROWS][NN_MATRIX_MAX_COLS]

// Initialize the result matrix.
for (int i = 0; i < NN_MATRIX_MAX_ROWS; i++) {
memset(&output[i], 0, NN_MATRIX_MAX_COLS * sizeof(float));
for (int j = 0; j < NN_MATRIX_MAX_COLS; j++) {
output[i][j] = 0.0f;
}
}

// Multiply two square matrices.
Expand Down

0 comments on commit 18842c1

Please sign in to comment.