Mercurial > hg > octave-terminal
changeset 14865:70f86a64c412 stable
* voronoi.m: Fix cut and paste error.
author | Nicholas Musolino <musolino@mit.edu> |
---|---|
date | Mon, 16 Jul 2012 17:16:50 -0400 |
parents | e2ac6e2c588a |
children | 9e5df4d6cefa |
files | scripts/geometry/voronoi.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/geometry/voronoi.m +++ b/scripts/geometry/voronoi.m @@ -126,8 +126,8 @@ xbox = [xmin - scale * xdelta; xmin - scale * xdelta; ... xmax + scale * xdelta; xmax + scale * xdelta]; - ybox = [xmin - scale * xdelta; xmax + scale * xdelta; ... - xmax + scale * xdelta; xmin - scale * xdelta]; + ybox = [ymin - scale * ydelta; ymax + scale * ydelta; ... + ymax + scale * ydelta; ymin - scale * ydelta]; [p, c, infi] = __voronoi__ ("voronoi", [[x(:) ; xbox(:)], [y(:); ybox(:)]],