aboutsummaryrefslogtreecommitdiff
path: root/src/lib/src/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/src/matrix.c')
-rw-r--r--src/lib/src/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/src/matrix.c b/src/lib/src/matrix.c
index 174504f..d98c8bb 100644
--- a/src/lib/src/matrix.c
+++ b/src/lib/src/matrix.c
@@ -6,7 +6,7 @@
6 6
7nnMatrix nnMatrixMake(int rows, int cols) { 7nnMatrix nnMatrixMake(int rows, int cols) {
8 R* values = calloc(rows * cols, sizeof(R)); 8 R* values = calloc(rows * cols, sizeof(R));
9 assert(values != 0); 9 assert(values != 0); // TODO: Make it a hard assert.
10 10
11 return (nnMatrix){ 11 return (nnMatrix){
12 .rows = rows, 12 .rows = rows,