Mercurial > octave
changeset 22709:5c04055aa767
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 01 Nov 2016 16:38:34 -0400 |
parents | 843b45bd9912 |
children | 0cbe4714ce1b |
files | libinterp/corefcn/gsvd.cc libinterp/corefcn/svd.cc scripts/plot/appearance/whitebg.m |
diffstat | 3 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/gsvd.cc Tue Nov 01 16:37:35 2016 -0400 +++ b/libinterp/corefcn/gsvd.cc Tue Nov 01 16:38:34 2016 -0400 @@ -474,9 +474,9 @@ %! assert (class (S), "single"); %! assert (class (R), "single"); %! -%! s = gsvd (single (A), B); +%! s = gsvd (single (A), B); %! assert (class (s), "single"); -%! [U,V,X,C,S,R] = gsvd (single (A), B); +%! [U,V,X,C,S,R] = gsvd (single (A), B); %! assert (class (U), "single"); %! assert (class (V), "single"); %! assert (class (X), "single");
--- a/libinterp/corefcn/svd.cc Tue Nov 01 16:37:35 2016 -0400 +++ b/libinterp/corefcn/svd.cc Tue Nov 01 16:38:34 2016 -0400 @@ -151,7 +151,7 @@ If the second argument is exactly 0, then the choice of decomposition is based on the matrix @var{A}. If @var{A} has more rows than columns then an -economy-sized decomposition is returned, otherwise a regular decomposition +economy-sized decomposition is returned, otherwise a regular decomposition is calculated. @seealso{svd_driver, svds, eig, lu, chol, hess, qr, qz} @end deftypefn */)
--- a/scripts/plot/appearance/whitebg.m Tue Nov 01 16:37:35 2016 -0400 +++ b/scripts/plot/appearance/whitebg.m Tue Nov 01 16:38:34 2016 -0400 @@ -175,7 +175,7 @@ ## Remove applied default from root defaultfield = strrep (factoryfield, "factory", "default"); set (0, defaultfield, "remove"); - endfor + endfor endif hlist = sort (findobj (fig)); @@ -204,7 +204,7 @@ ## This algorithm maintains at least 90 degrees separation between corig and bg ## in Hue rotation space. No modifications are done for saturation or value. function cnew = calc_contrast_color (bg, corig) - + hsv = rgb2hsv (corig); contrast_hue = mod (bg(1) + 0.5, 1); # Generate a contrasting bg color @@ -219,7 +219,7 @@ ## No modifications to saturation or value. cnew(2:3) = hsv(2:3); - cnew = hsv2rgb (cnew); + cnew = hsv2rgb (cnew); endfunction