Mercurial > octave
changeset 23477:3530b956d707
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 09 May 2017 12:21:37 -0400 |
parents | 1a4b4c074800 |
children | bce43f1a3cce |
files | libinterp/corefcn/qz.cc liboctave/numeric/lo-mappers.h liboctave/numeric/sparse-chol.cc |
diffstat | 3 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/qz.cc Tue May 09 12:13:12 2017 -0400 +++ b/libinterp/corefcn/qz.cc Tue May 09 12:21:37 2017 -0400 @@ -372,8 +372,8 @@ // Initialize Q, Z to identity matrix if either is needed if (comp_q == 'V' || comp_z == 'V') { - double *QQptr = QQ.fortran_vec (); - double *ZZptr = ZZ.fortran_vec (); + double *QQptr = QQ.fortran_vec (); + double *ZZptr = ZZ.fortran_vec (); std::fill_n (QQptr, QQ.numel (), 0.0); std::fill_n (ZZptr, ZZ.numel (), 0.0); for (F77_INT i = 0; i < nn; i++)
--- a/liboctave/numeric/lo-mappers.h Tue May 09 12:13:12 2017 -0400 +++ b/liboctave/numeric/lo-mappers.h Tue May 09 12:21:37 2017 -0400 @@ -575,13 +575,13 @@ inline Complex xlog2 (const Complex& x) { return octave::math::log2 (x); } OCTAVE_DEPRECATED ("use 'octave::math::log2' instead") inline FloatComplex xlog2 (const FloatComplex& x) -{ +{ return octave::math::log2 (x); } OCTAVE_DEPRECATED ("use 'octave::math::log2' instead") inline double xlog2 (double x, int& exp) -{ +{ return octave::math::log2 (x, exp); } OCTAVE_DEPRECATED ("use 'octave::math::log2' instead") @@ -589,12 +589,12 @@ OCTAVE_DEPRECATED ("use 'octave::math::log2' instead") inline Complex xlog2 (const Complex& x, int& exp) -{ +{ return octave::math::log2 (x, exp); } OCTAVE_DEPRECATED ("use 'octave::math::log2' instead") inline FloatComplex xlog2 (const FloatComplex& x, int& exp) -{ +{ return octave::math::log2 (x, exp); } @@ -618,12 +618,12 @@ OCTAVE_DEPRECATED ("use 'octave::math::copysign' instead") inline double xcopysign (double x, double y) -{ +{ return octave::math::copysign (x, y); } OCTAVE_DEPRECATED ("use 'octave::math::copysign' instead") inline float xcopysign (float x, float y) -{ +{ return octave::math::copysign (x, y); } @@ -637,23 +637,23 @@ OCTAVE_DEPRECATED ("use 'octave::math::negative_sign' instead") inline bool xnegative_sign (double x) -{ +{ return octave::math::negative_sign (x); } OCTAVE_DEPRECATED ("use 'octave::math::negative_sign' instead") inline bool xnegative_sign (float x) -{ +{ return octave::math::negative_sign (x); } OCTAVE_DEPRECATED ("use 'octave::math::positive_sign' instead") inline bool xpositive_sign (double x) -{ +{ return octave::math::positive_sign (x); } OCTAVE_DEPRECATED ("use 'octave::math::positive_sign' instead") inline bool xpositive_sign (float x) -{ +{ return octave::math::positive_sign (x); }