Mercurial > hg > octave-lyh
diff src/ov-re-diag.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-re-diag.cc +++ b/src/ov-re-diag.cc @@ -88,12 +88,12 @@ // This hack is to allow constructing permutation matrices using // eye(n)(p,:), eye(n)(:,q) && eye(n)(p,q) where p & q are permutation - // vectors. + // vectors. if (! resize_ok && idx.length () == 2 && matrix.is_multiple_of_identity (1)) { idx_vector idx0 = idx(0).index_vector (); idx_vector idx1 = idx(1).index_vector (); - + if (! error_state) { bool left = idx0.is_permutation (matrix.rows ()); @@ -173,7 +173,7 @@ } } -bool +bool octave_diag_matrix::save_binary (std::ostream& os, bool& save_as_floats) { @@ -206,7 +206,7 @@ return true; } -bool +bool octave_diag_matrix::load_binary (std::istream& is, bool swap, oct_mach_info::float_format fmt) { @@ -233,8 +233,8 @@ return true; } -bool -octave_diag_matrix::chk_valid_scalar (const octave_value& val, +bool +octave_diag_matrix::chk_valid_scalar (const octave_value& val, double& x) const { bool retval = val.is_real_scalar ();