# HG changeset patch # User John W. Eaton # Date 1460386398 14400 # Node ID d7a268e68e69efb8eccf58dfa9981ae3bc2f42cb # Parent 37cbdf7bffa94ff655a3ec3e4468eed4521a870d maint: Strip trailing whitespace from source files. diff -r 37cbdf7bffa9 -r d7a268e68e69 doc/interpreter/testfun.txi --- a/doc/interpreter/testfun.txi Mon Apr 11 10:45:17 2016 +0200 +++ b/doc/interpreter/testfun.txi Mon Apr 11 10:53:18 2016 -0400 @@ -386,7 +386,7 @@ @example @group -## test block with normal Octave code +## test block with normal Octave code %!test %! assert (sin (0), 0); @end group diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/corefcn/__ilu__.cc --- a/libinterp/corefcn/__ilu__.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/corefcn/__ilu__.cc Mon Apr 11 10:53:18 2016 -0400 @@ -243,7 +243,7 @@ T zero = T (0); - // Initialize working arrays + // Initialize working arrays cidx_u[0] = cidx_in_u[0]; cidx_l[0] = cidx_in_l[0]; for (i = 0; i < n; i++) @@ -609,7 +609,7 @@ octave_idx_type* perm = perm_vec.fortran_vec (); OCTAVE_LOCAL_BUFFER (octave_idx_type, uptr, n); - // Initialize working and permutation arrays + // Initialize working and permutation arrays cidx_l[0] = cidx_in[0]; cidx_u[0] = cidx_in[0]; for (i = 0; i < n; i++) diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/corefcn/max.cc --- a/libinterp/corefcn/max.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/corefcn/max.cc Mon Apr 11 10:53:18 2016 -0400 @@ -139,7 +139,7 @@ } else { - // Sparse: Don't use any/all trick, as full matrix could exceed memory. + // Sparse: Don't use any/all trick, as full matrix could exceed memory. // Instead, convert to double. retval = do_minmax_red_op (arg, nargout, dim, ismin); diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/corefcn/syscalls.cc --- a/libinterp/corefcn/syscalls.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/corefcn/syscalls.cc Mon Apr 11 10:53:18 2016 -0400 @@ -472,7 +472,7 @@ print_usage (); if (symbol_table::at_top_level ()) - error ("fork: cannot be called from command line"); + error ("fork: cannot be called from command line"); std::string msg; diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/dldfcn/__glpk__.cc --- a/libinterp/dldfcn/__glpk__.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/dldfcn/__glpk__.cc Mon Apr 11 10:53:18 2016 -0400 @@ -288,7 +288,7 @@ // Request that GLPK free all memory resources. // This prevents reported memory leaks, but isn't strictly necessary. // The memory blocks use are allocated once and don't grow with further - // calls to glpk so they would be reclaimed anyways when Octave exits. + // calls to glpk so they would be reclaimed anyways when Octave exits. glp_free_env (); return errnum; diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/dldfcn/__init_gnuplot__.cc --- a/libinterp/dldfcn/__init_gnuplot__.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/dldfcn/__init_gnuplot__.cc Mon Apr 11 10:53:18 2016 -0400 @@ -1,4 +1,4 @@ -/*, , +/* Copyright (C) 2007-2015 John W. Eaton diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/dldfcn/ccolamd.cc --- a/libinterp/dldfcn/ccolamd.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/dldfcn/ccolamd.cc Mon Apr 11 10:53:18 2016 -0400 @@ -308,7 +308,7 @@ retval(0) = out_perm; - // print stats if spumoni > 0 + // print stats if spumoni > 0 if (spumoni > 0) CCOLAMD_NAME (_report) (stats); diff -r 37cbdf7bffa9 -r d7a268e68e69 libinterp/dldfcn/symbfact.cc --- a/libinterp/dldfcn/symbfact.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/libinterp/dldfcn/symbfact.cc Mon Apr 11 10:53:18 2016 -0400 @@ -110,7 +110,7 @@ print_usage (); octave_value_list retval; - + double dummy; cholmod_sparse Astore; cholmod_sparse *A = &Astore; @@ -397,7 +397,7 @@ %! assert (l, sparse (tril (true (3)))); %!testif HAVE_CHOLMOD -%! ## Bug #42587, singular matrix +%! ## Bug #42587, singular matrix %! A = sparse ([1 0 8;0 1 8;8 8 1]); %! [count, h, parent, post, r] = symbfact (A); @@ -407,9 +407,9 @@ %! fail ("symbfact (1,2,3,4)"); %! fail ("symbfact ({1})", "wrong type argument 'cell'"); %! fail ("symbfact (sparse (1), {1})", "TYP must be a string"); -%! fail ("symbfact (sparse (1), 'foobar')", 'unrecognized TYP "foobar"'); +%! fail ("symbfact (sparse (1), 'foobar')", 'unrecognized TYP "foobar"'); %! fail ("symbfact (sparse (1), 'sym', {'L'})", "MODE must be a string"); -%! fail ('symbfact (sparse (1), "sym", "foobar")', 'unrecognized MODE "foobar"'); +%! fail ('symbfact (sparse (1), "sym", "foobar")', 'unrecognized MODE "foobar"'); %! fail ("symbfact (sparse ([1, 2; 3, 4; 5, 6]))", "S must be a square matrix"); */ diff -r 37cbdf7bffa9 -r d7a268e68e69 liboctave/util/data-conv.cc --- a/liboctave/util/data-conv.cc Mon Apr 11 10:45:17 2016 +0200 +++ b/liboctave/util/data-conv.cc Mon Apr 11 10:53:18 2016 -0400 @@ -74,7 +74,7 @@ } \ while (0) #endif - + #define FIND_SIZED_FLOAT_TYPE(VAL, BITS) \ do \ { \ diff -r 37cbdf7bffa9 -r d7a268e68e69 m4/acinclude.m4 --- a/m4/acinclude.m4 Mon Apr 11 10:45:17 2016 +0200 +++ b/m4/acinclude.m4 Mon Apr 11 10:53:18 2016 -0400 @@ -1518,7 +1518,7 @@ dnl dnl 2. static_cast to unsigned int counterpart works like dnl interpreting the signed bit pattern as unsigned (and is thus -dnl zero-cost). +dnl zero-cost). dnl dnl 3. Signed addition and subtraction yield the same bit results dnl as unsigned. (We use casts to prevent optimization diff -r 37cbdf7bffa9 -r d7a268e68e69 scripts/miscellaneous/version.m --- a/scripts/miscellaneous/version.m Mon Apr 11 10:45:17 2016 +0200 +++ b/scripts/miscellaneous/version.m Mon Apr 11 10:53:18 2016 -0400 @@ -121,7 +121,7 @@ %!error version ("-date", "-release") %!error [v, d] = version ("-date") %!error version (1) -%!warning