Mercurial > octave
diff src/ov-ch-mat.cc @ 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 | fd0a3ac60b0e |
children | 72c96de7a403 |
line wrap: on
line diff
--- a/src/ov-ch-mat.cc Thu Jan 20 17:21:27 2011 -0500 +++ b/src/ov-ch-mat.cc Thu Jan 20 17:24:59 2011 -0500 @@ -40,14 +40,14 @@ template class octave_base_matrix<charNDArray>; -idx_vector +idx_vector octave_char_matrix::index_vector (void) const -{ +{ const char *p = matrix.data (); if (numel () == 1 && *p == ':') return idx_vector (':'); else - return idx_vector (array_value (true)); + return idx_vector (array_value (true)); } double @@ -151,7 +151,7 @@ return retval; } -// The C++ standard guarantees cctype defines functions, not macros (and hence macros *CAN'T* +// The C++ standard guarantees cctype defines functions, not macros (and hence macros *CAN'T* // be defined if only cctype is included) // so there's no need to f*ck around. The exceptions are isascii and toascii, // which are not C++. @@ -188,7 +188,7 @@ STRING_MAPPER (xtolower, std::tolower, char); STRING_MAPPER (xtoupper, std::toupper, char); - default: + default: { octave_matrix m (array_value (true)); return m.map (umap);