octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #36836] Incorrect code in voronoi.m function f


From: anonymous
Subject: [Octave-bug-tracker] [bug #36836] Incorrect code in voronoi.m function file
Date: Thu, 12 Jul 2012 22:58:13 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.6 Safari/534.56.5

URL:
  <http://savannah.gnu.org/bugs/?36836>

                 Summary: Incorrect code in voronoi.m function file
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 12 Jul 2012 10:58:13 PM UTC
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Nicholas Musolino
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: Any

    _______________________________________________________

Details:

I am reporting a problem in geometry/voronoi.m, lines 127 to 130.  It looks
like someone forgot to 
CURRENT CODE:
  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];
END OF CODE
The ybox definition should use ymin, ymax, and ydelta.

I have attached a small patch that corrects this.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 12 Jul 2012 10:58:13 PM UTC  Name: voronoi.patch  Size: 665B   By:
None
Created with patch -u
<http://savannah.gnu.org/bugs/download.php?file_id=26190>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36836>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]