# HG changeset patch # User Rik # Date 1638233161 28800 # Node ID 1ef9fca2db0651a1839006af47c9260336ab4b2f # Parent e52c8171ff34cf694157ed2b3a85211f51120e76 maint: strip trailing spaces from codebase. * data.cc, qr.cc: strip trailing spaces. diff -r e52c8171ff34 -r 1ef9fca2db06 libinterp/corefcn/data.cc --- a/libinterp/corefcn/data.cc Mon Nov 29 16:44:12 2021 -0800 +++ b/libinterp/corefcn/data.cc Mon Nov 29 16:46:01 2021 -0800 @@ -1295,7 +1295,7 @@ %! single ([1; 2; 3])) %!assert (diag (int8 ([1; 2; 3])), int8 ([1, 0, 0; 0, 2, 0; 0, 0, 3])) -%!assert (diag (int8 ([1; 2; 3]), 1), +%!assert (diag (int8 ([1; 2; 3]), 1), %! int8 ([0, 1, 0, 0; 0, 0, 2, 0; 0, 0, 0, 3; 0, 0, 0, 0])) %!assert (diag (int8 ([1; 2; 3]), 2), %! int8 ([0 0 1 0 0; 0 0 0 2 0; 0 0 0 0 3; 0 0 0 0 0; 0 0 0 0 0])) diff -r e52c8171ff34 -r 1ef9fca2db06 libinterp/corefcn/qr.cc --- a/libinterp/corefcn/qr.cc Mon Nov 29 16:44:12 2021 -0800 +++ b/libinterp/corefcn/qr.cc Mon Nov 29 16:46:01 2021 -0800 @@ -1617,7 +1617,7 @@ %! [Q,R] = qrinsert (Q, R, 3, x, "row"); %! assert (norm (vec (Q'*Q - eye (6,"single")), Inf) < 1e1*eps ("single")); %! assert (norm (vec (triu (R) - R), Inf) == 0); -%! assert (norm (vec (Q*R - single ([A(1:2,:);x;A(3:5,:)])), Inf) +%! assert (norm (vec (Q*R - single ([A(1:2,:);x;A(3:5,:)])), Inf) %! < norm (single (A))*1e1*eps ("single")); %!test %! x = single ([0.20351 + 0.05401i 0.13141 + 0.43708i 0.29808 + 0.08789i ]);