bugGNU Octave - Bugs: bug #36836, Incorrect code in voronoi.m...

 
 

bug #36836: Incorrect code in voronoi.m function file

Submitter:  None
Submitted:  Thu 12 Jul 2012 10:58:13 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Nicholas Musolino Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.2
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 16 Jul 2012 09:24:18 PM UTC, comment #1: 

Thanks for the report and patch.  I checked in your change on the stable branch, credited to you:

http://hg.savannah.gnu.org/hgweb/octave/rev/70f86a64c412

This change will appear in 3.6.3.

John W. Eaton <jwe>
Group administrator
Thu 12 Jul 2012 10:58:13 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #26190:  voronoi.patch added by None (665B - application/octet-stream - Created with patch -u)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-07-16 jwe StatusNone Fixed
        Originator Email-email is unavailable-
        Open/ClosedOpen Closed
    2012-07-12 None Attached File- Added voronoi.patch, #26190

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code