aboutsummaryrefslogtreecommitdiff
path: root/matrix/generic/mmatrix.c
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-06-06 11:02:48 +0800
committerDeterminant <[email protected]>2015-06-06 11:02:48 +0800
commit0bb9cd4271f127c311fd9839855def8f9ea91dab (patch)
treec9e9a8535ff5405610f380f50a0ea05f8694fef8 /matrix/generic/mmatrix.c
parent37af4bed9c3680fdb9db569605f15013e9b6b64d (diff)
add ASR DNN trainer
Diffstat (limited to 'matrix/generic/mmatrix.c')
-rw-r--r--matrix/generic/mmatrix.c2
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;