Mercurial > hg > octave-terminal
changeset 10624:3eafa521550b
minor typo in previous changeset
author | David Bateman <dbateman@free.fr> |
---|---|
date | Wed, 12 May 2010 02:25:05 +0200 |
parents | 0e98fb2068fc |
children | 07933067e4ab |
files | src/ls-mat5.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ls-mat5.cc +++ b/src/ls-mat5.cc @@ -1793,7 +1793,7 @@ ret += 16 + save_mat5_array_length (m.data (), nnz, save_as_floats); if (nnz > 1) ret += PAD (nnz * sizeof (int32_t)); - if (nc > 1) + if (nc > 0) ret += PAD ((nc + 1) * sizeof (int32_t)); } else @@ -1805,7 +1805,7 @@ ret += 16 + save_mat5_array_length (m.data (), nnz, save_as_floats); if (nnz > 1) ret += PAD (nnz * sizeof (int32_t)); - if (nc > 1) + if (nc > 0) ret += PAD ((nc + 1) * sizeof (int32_t)); } }