Mercurial > octave-nkf
comparison libinterp/octave-value/ov-cx-sparse.cc @ 18772: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 | 6113e0c6920b |
children | 76478d2da117 |
comparison
equal
deleted
inserted
replaced
18771:9fbb254c09e6 | 18772:3bffa847d215 |
---|---|
239 int nc = d(1); | 239 int nc = d(1); |
240 int nz = nnz (); | 240 int nz = nnz (); |
241 | 241 |
242 int32_t itmp; | 242 int32_t itmp; |
243 // Use negative value for ndims to be consistent with other formats | 243 // Use negative value for ndims to be consistent with other formats |
244 itmp= -2; | 244 itmp = -2; |
245 os.write (reinterpret_cast<char *> (&itmp), 4); | 245 os.write (reinterpret_cast<char *> (&itmp), 4); |
246 | 246 |
247 itmp= nr; | 247 itmp = nr; |
248 os.write (reinterpret_cast<char *> (&itmp), 4); | 248 os.write (reinterpret_cast<char *> (&itmp), 4); |
249 | 249 |
250 itmp= nc; | 250 itmp = nc; |
251 os.write (reinterpret_cast<char *> (&itmp), 4); | 251 os.write (reinterpret_cast<char *> (&itmp), 4); |
252 | 252 |
253 itmp= nz; | 253 itmp = nz; |
254 os.write (reinterpret_cast<char *> (&itmp), 4); | 254 os.write (reinterpret_cast<char *> (&itmp), 4); |
255 | 255 |
256 save_type st = LS_DOUBLE; | 256 save_type st = LS_DOUBLE; |
257 if (save_as_floats) | 257 if (save_as_floats) |
258 { | 258 { |