changeset 21604:d7a268e68e69

maint: Strip trailing whitespace from source files.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Apr 2016 10:53:18 -0400
parents 37cbdf7bffa9
children e6f76c393ad7
files doc/interpreter/testfun.txi libinterp/corefcn/__ilu__.cc libinterp/corefcn/max.cc libinterp/corefcn/syscalls.cc libinterp/dldfcn/__glpk__.cc libinterp/dldfcn/__init_gnuplot__.cc libinterp/dldfcn/ccolamd.cc libinterp/dldfcn/symbfact.cc liboctave/util/data-conv.cc m4/acinclude.m4 scripts/miscellaneous/version.m scripts/ode/ode45.m scripts/plot/draw/private/__scatter__.m scripts/polynomial/padecoef.m scripts/statistics/base/mode.m
diffstat 15 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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++)
--- 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<SparseMatrix> (arg, nargout, dim, ismin);
 
--- 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;
 
--- 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;
--- 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
 
--- 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);
 
--- 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");
 
 */
--- 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 \
     { \
--- 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
--- 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 <option '-blas' not implemented> version ("-blas"); 
-%!warning <option '-lapack' not implemented> version ("-lapack"); 
+%!warning <option '-blas' not implemented> version ("-blas");
+%!warning <option '-lapack' not implemented> version ("-lapack");
 %!error <invalid FEATURE> version ("-foobar")
 
--- a/scripts/ode/ode45.m	Mon Apr 11 10:45:17 2016 +0200
+++ b/scripts/ode/ode45.m	Mon Apr 11 10:53:18 2016 -0400
@@ -408,7 +408,7 @@
 %! loglog (h, tol, "-ob",
 %!         h, err, "-b"
 %!         h, (h/h(end)) .^ 4 .* tol(end), "k--",
-%!         h, (h/h(end)) .^ 5 .* tol(end), "k-") 
+%!         h, (h/h(end)) .^ 5 .* tol(end), "k-")
 %! axis tight
 %! xlabel ("h");
 %! ylabel ("err(h)");
--- a/scripts/plot/draw/private/__scatter__.m	Mon Apr 11 10:45:17 2016 +0200
+++ b/scripts/plot/draw/private/__scatter__.m	Mon Apr 11 10:53:18 2016 -0400
@@ -370,7 +370,7 @@
       c = repmat (c, numel (x), 1);
     endif
   endif
-  filled = ! strcmp (get (h, "markerfacecolor"), "none"); 
+  filled = ! strcmp (get (h, "markerfacecolor"), "none");
   s = get (h, "sizedata");
   if (numel (s) == 1)
     s = repmat (s, numel (x), 1);
--- a/scripts/polynomial/padecoef.m	Mon Apr 11 10:45:17 2016 +0200
+++ b/scripts/polynomial/padecoef.m	Mon Apr 11 10:53:18 2016 -0400
@@ -86,7 +86,7 @@
 
   if (nargin < 1 || nargin > 2)
     print_usage ();
-  endif 
+  endif
 
   if (! (isscalar (T) && isnumeric (T) && T >= 0))
     error ("padecoef: T must be a non-negative scalar");
--- a/scripts/statistics/base/mode.m	Mon Apr 11 10:45:17 2016 +0200
+++ b/scripts/statistics/base/mode.m	Mon Apr 11 10:53:18 2016 -0400
@@ -58,10 +58,10 @@
   endif
 
   if (dim > nd)
-    ## Special case of mode over non-existent dimension 
+    ## Special case of mode over non-existent dimension.
     m = x;
     f = ones (size (x));
-    c = num2cell (x);    
+    c = num2cell (x);
     return;
   endif