Mercurial > octave-nkf
diff src/ov-range.h @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | cda4aa780d58 |
children | e0e50f48df37 |
line wrap: on
line diff
--- a/src/ov-range.h Thu Jan 20 17:21:27 2011 -0500 +++ b/src/ov-range.h Thu Jan 20 17:24:59 2011 -0500 @@ -71,7 +71,7 @@ } octave_range (const octave_range& r) - : octave_base_value (), range (r.range), + : octave_base_value (), range (r.range), idx_cache (r.idx_cache ? new idx_vector (*r.idx_cache) : 0) { } @@ -107,7 +107,7 @@ idx_vector index_vector (void) const; dim_vector dims (void) const - { + { octave_idx_type n = range.nelem (); return dim_vector (n > 0, n); } @@ -190,7 +190,7 @@ { return FloatMatrix (range.matrix_value ()); } charNDArray char_array_value (bool = false) const; - + // FIXME -- it would be better to have Range::intXNDArray_value // functions to avoid the intermediate conversion to a matrix // object. @@ -259,7 +259,7 @@ bool save_binary (std::ostream& os, bool& save_as_floats); - bool load_binary (std::istream& is, bool swap, + bool load_binary (std::istream& is, bool swap, oct_mach_info::float_format fmt); #if defined (HAVE_HDF5) @@ -301,7 +301,7 @@ void clear_cached_info (void) const { delete idx_cache; idx_cache = 0; - } + } mutable idx_vector *idx_cache;