diff options
author | cloudygoose <[email protected]> | 2015-06-06 11:03:49 +0800 |
---|---|---|
committer | cloudygoose <[email protected]> | 2015-06-06 11:03:49 +0800 |
commit | 31330d6c095b2b11b34f524169f56dc8d18355c3 (patch) | |
tree | c67e8d625fc5d31c048fca72e3dbeadafec0b9a2 /matrix/generic/mmatrix.c | |
parent | 3faaef779e384e6283761906552c6c6c4eafb3dd (diff) | |
parent | 0bb9cd4271f127c311fd9839855def8f9ea91dab (diff) |
...
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'matrix/generic/mmatrix.c')
-rw-r--r-- | matrix/generic/mmatrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/generic/mmatrix.c b/matrix/generic/mmatrix.c index 75d1eb1..2045d65 100644 --- a/matrix/generic/mmatrix.c +++ b/matrix/generic/mmatrix.c @@ -86,7 +86,7 @@ int nerv_matrix_(save)(lua_State *L) { { MATRIX_ELEM *row = MATRIX_ROW_PTR(self, i); for (j = 0; j < ncol; j++) - if (fprintf(fp, MATRIX_ELEM_FMT " ", row[j]) < 0) + if (fprintf(fp, MATRIX_ELEM_WRITE_FMT " ", row[j]) < 0) { free(self); return 0; |