aboutsummaryrefslogtreecommitdiff
path: root/matrix/generic
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-18 19:29:37 +0800
committerDeterminant <[email protected]>2015-05-18 19:29:37 +0800
commit23fd2694723ab3f2203e6cd040c5e6633cb989c7 (patch)
tree407e5b1f2826df831336fbb8f1bfd69f8ca6e7c5 /matrix/generic
parent0f953414dfdbd7abb7b867ce0c3f9390551c1083 (diff)
add rowsum for cumatrix
Diffstat (limited to 'matrix/generic')
-rw-r--r--matrix/generic/matrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/generic/matrix.h b/matrix/generic/matrix.h
index 655ff3d..264859b 100644
--- a/matrix/generic/matrix.h
+++ b/matrix/generic/matrix.h
@@ -2,7 +2,7 @@
#define NERV_GENERIC_MATRIX_H
typedef struct Matrix {
- long stride; /* size of a row */
+ size_t stride; /* size of a row */
long ncol, nrow, nmax; /* dimension of the matrix */
union {
float *f;