diff --git a/src/matrix.c b/src/matrix.c index 6b338d9b..27328c14 100644 --- a/src/matrix.c +++ b/src/matrix.c @@ -241,8 +241,8 @@ bool matrix_write(matrix_t *self, FILE *f) { return false; } - if (!file_write_uint32(f, self->m) || - !file_write_uint32(f, self->n)) { + if (!file_write_uint64(f, self->m) || + !file_write_uint64(f, self->n)) { return false; }