Mercurial > octave
changeset 29434:91f32bf0d497
maint: strip trailing spaces from code base.
* octave-dock-widget.cc, gl-render.h, dSparse.h, lo-lapack-proto.h,
sparse-qr.cc, sparse-qr.h, Map.m, __clabel__.m:
Strip trailing spaces.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 12 Mar 2021 14:10:04 -0800 |
parents | 8811d8274118 |
children | 2031c0f76d02 |
files | libgui/src/octave-dock-widget.cc libinterp/corefcn/gl-render.h liboctave/array/dSparse.h liboctave/numeric/lo-lapack-proto.h liboctave/numeric/sparse-qr.cc liboctave/numeric/sparse-qr.h scripts/+containers/Map.m scripts/plot/appearance/__clabel__.m |
diffstat | 8 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/octave-dock-widget.cc Fri Mar 12 20:56:19 2021 +0100 +++ b/libgui/src/octave-dock-widget.cc Fri Mar 12 14:10:04 2021 -0800 @@ -584,7 +584,7 @@ // Detect mouse enter events if "focus follows mouse" is desired // for widgets docked to the main window (non floating) and activate - // the widget currently under the mouse + // the widget currently under the mouse if (m_focus_follows_mouse && ! isFloating () && (e->type () == QEvent::Enter)) activate ();
--- a/libinterp/corefcn/gl-render.h Fri Mar 12 20:56:19 2021 +0100 +++ b/libinterp/corefcn/gl-render.h Fri Mar 12 14:10:04 2021 -0800 @@ -183,10 +183,10 @@ | (z > zmax ? 1 : 0) << 5 | (is_nan_or_inf (x, y, z) ? 0 : 1) << 6); } - + void render_text (uint8NDArray pixels, Matrix bbox, double x, double y, double z, double rotation); - + void set_normal (int bfl_mode, const NDArray& n, int j, int i); void set_ortho_coordinates (void);
--- a/liboctave/array/dSparse.h Fri Mar 12 20:56:19 2021 +0100 +++ b/liboctave/array/dSparse.h Fri Mar 12 14:10:04 2021 -0800 @@ -378,7 +378,7 @@ solve (const ComplexMatrix& b, octave_idx_type& info) const; OCTAVE_API ComplexMatrix solve (const ComplexMatrix& b, octave_idx_type& info, double& rcond) const; - OCTAVE_API ComplexMatrix + OCTAVE_API ComplexMatrix solve (const ComplexMatrix& b, octave_idx_type& info, double& rcond, solve_singularity_handler sing_handler) const;
--- a/liboctave/numeric/lo-lapack-proto.h Fri Mar 12 20:56:19 2021 +0100 +++ b/liboctave/numeric/lo-lapack-proto.h Fri Mar 12 14:10:04 2021 -0800 @@ -293,7 +293,7 @@ const F77_INT&, F77_INT&); // ORMLQ - + F77_RET_T F77_FUNC (cormlq, CORMLQ) (F77_CONST_CHAR_ARG_DECL, F77_CONST_CHAR_ARG_DECL,
--- a/liboctave/numeric/sparse-qr.cc Fri Mar 12 20:56:19 2021 +0100 +++ b/liboctave/numeric/sparse-qr.cc Fri Mar 12 14:10:04 2021 -0800 @@ -413,7 +413,7 @@ ret.xridx(j) = from_suitesparse_long (a_i[j]); ret.xdata(j) = a_x[j]; } - + return ret; } @@ -2740,7 +2740,7 @@ { return rep->P (); } - + template <typename SPARSE_T> ColumnVector sparse_qr<SPARSE_T>::E (void) const @@ -2947,7 +2947,7 @@ ComplexMatrix x (nc, b_nc); cholmod_common cc; - + cholmod_l_start (&cc); cholmod_sparse A = cos2ccs (a);
--- a/liboctave/numeric/sparse-qr.h Fri Mar 12 20:56:19 2021 +0100 +++ b/liboctave/numeric/sparse-qr.h Fri Mar 12 14:10:04 2021 -0800 @@ -69,7 +69,7 @@ OCTAVE_API bool ok (void) const; - OCTAVE_API ColumnVector E (void) const; + OCTAVE_API ColumnVector E (void) const; // constructs permutation matrix from permutation vector rep -> E() OCTAVE_API SparseMatrix E_MAT () const;
--- a/scripts/+containers/Map.m Fri Mar 12 20:56:19 2021 +0100 +++ b/scripts/+containers/Map.m Fri Mar 12 14:10:04 2021 -0800 @@ -843,7 +843,7 @@ %! vals = [10, 11, 12, 13]; %! M = containers.Map (months, vals); %! keys = {'Jan', 'FooBar', 'Feb'}; -%! assert (M.isKey (keys)(2:end), logical ([0, 1])); +%! assert (M.isKey (keys)(2:end), logical ([0, 1])); ## Test input validation %!error containers.Map (1,2,3)
--- a/scripts/plot/appearance/__clabel__.m Fri Mar 12 20:56:19 2021 +0100 +++ b/scripts/plot/appearance/__clabel__.m Fri Mar 12 14:10:04 2021 -0800 @@ -120,7 +120,7 @@ else tpos = [tpos.' 0]; endif - + ht = __go_text__ (hparent, "position", tpos, "string", tlabel, ... "rotation", trot, "clipping", "on", ... "horizontalalignment", "center", ...