Mercurial > octave
changeset 22707:413a19bca7f3 stable
maint: Strip trailing whitespace from source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 01 Nov 2016 16:36:27 -0400 |
parents | d43094e91ba7 |
children | 843b45bd9912 e07fa946f763 |
files | scripts/general/publish.m scripts/geometry/voronoi.m scripts/ode/ode23.m |
diffstat | 3 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/publish.m Mon Oct 31 11:40:55 2016 -0700 +++ b/scripts/general/publish.m Tue Nov 01 16:36:27 2016 -0400 @@ -821,7 +821,6 @@ '\*[^*]*\*', ... # Bold '_[^_]*_', ... # Italic '\|[^|]*\|'}; # Monospaced - ## Helper function to escape some special characters for the GNU Octave ## manual, see https://www.gnu.org/software/texinfo/manual/texinfo/html_node/HTML-Xref-Node-Name-Expansion.html
--- a/scripts/geometry/voronoi.m Mon Oct 31 11:40:55 2016 -0700 +++ b/scripts/geometry/voronoi.m Tue Nov 01 16:36:27 2016 -0400 @@ -133,7 +133,7 @@ edges = zeros (2, 0); for i = 1:numel (c) facet = c{i}; - if (isempty (facet)) + if (isempty (facet)) continue; endif edges = [edges, [facet; [facet(end), facet(1:end-1)]]]; @@ -152,7 +152,7 @@ radius = 1.1 * sumsq ([xmin, ymin] - ctr); dist = sumsq (p - ctr, 2); - p_inside = (1:rows (p))(dist < radius); + p_inside = (1:rows (p))(dist < radius); edge_inside = any (ismember (edges, p_inside)); edges = edges(:, edge_inside); else @@ -212,7 +212,7 @@ %! [vx, vy] = voronoi (x,y); %! assert (columns (vx), 3); -%!testif HAVE_QHULL <37270> +%!testif HAVE_QHULL <37270> %! ## Duplicate points can cause an internal error %! x = [1,2,3, 3]; y = [2,3,1, 1]; %! [vx, vy] = voronoi (x,y);
--- a/scripts/ode/ode23.m Mon Oct 31 11:40:55 2016 -0700 +++ b/scripts/ode/ode23.m Tue Nov 01 16:36:27 2016 -0400 @@ -159,7 +159,7 @@ persistent ode23_ignore_options = ... {"BDF", "InitialSlope", "Jacobian", "JPattern", "MassSingular", "MaxOrder", "MvPattern", "Vectorized"}; - + defaults = rmfield (defaults, ode23_ignore_options); classes = rmfield (classes, ode23_ignore_options); attributes = rmfield (attributes, ode23_ignore_options);