Mercurial > octave
changeset 18738:3bffa847d215
maint: Use space after variable name and before equals sign.
* ov-bool-sparse.cc (octave_sparse_bool_matrix::save_binary): Use "itmp = ..."
rather than "itmp= ..."
ov-cx-sparse.cc (octave_sparse_complex_matrix::save_binary): Use "itmp = ..."
rather than "itmp= ..."
ov-re-sparse.cc (octave_sparse_matrix::save_binary): Use "itmp = ..."
rather than "itmp= ..."
author | Rik <rik@octave.org> |
---|---|
date | Wed, 07 May 2014 09:09:43 -0700 |
parents | 9fbb254c09e6 |
children | 0461fe1d2a01 |
files | libinterp/octave-value/ov-bool-sparse.cc libinterp/octave-value/ov-cx-sparse.cc libinterp/octave-value/ov-re-sparse.cc |
diffstat | 3 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-bool-sparse.cc Wed May 07 08:54:19 2014 -0700 +++ b/libinterp/octave-value/ov-bool-sparse.cc Wed May 07 09:09:43 2014 -0700 @@ -225,16 +225,16 @@ int32_t itmp; // Use negative value for ndims to be consistent with other formats - itmp= -2; + itmp = -2; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nr; + itmp = nr; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nc; + itmp = nc; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nz; + itmp = nz; os.write (reinterpret_cast<char *> (&itmp), 4); // add one to the printed indices to go from
--- a/libinterp/octave-value/ov-cx-sparse.cc Wed May 07 08:54:19 2014 -0700 +++ b/libinterp/octave-value/ov-cx-sparse.cc Wed May 07 09:09:43 2014 -0700 @@ -241,16 +241,16 @@ int32_t itmp; // Use negative value for ndims to be consistent with other formats - itmp= -2; + itmp = -2; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nr; + itmp = nr; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nc; + itmp = nc; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nz; + itmp = nz; os.write (reinterpret_cast<char *> (&itmp), 4); save_type st = LS_DOUBLE;
--- a/libinterp/octave-value/ov-re-sparse.cc Wed May 07 08:54:19 2014 -0700 +++ b/libinterp/octave-value/ov-re-sparse.cc Wed May 07 09:09:43 2014 -0700 @@ -274,16 +274,16 @@ int32_t itmp; // Use negative value for ndims to be consistent with other formats - itmp= -2; + itmp = -2; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nr; + itmp = nr; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nc; + itmp = nc; os.write (reinterpret_cast<char *> (&itmp), 4); - itmp= nz; + itmp = nz; os.write (reinterpret_cast<char *> (&itmp), 4); save_type st = LS_DOUBLE;