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

 
 

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

Submitted by:  None
Submitted on:  Thu 12 Jul 2012 10:58:13 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: FixedAssigned to: None
Originator Name: Nicholas MusolinoOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Jul 2012 09:24:18 PM UTCjweStatusNone=>Fixed
      Originator Email-unavailable-=>
      Open/ClosedOpen=>Closed
    Thu 12 Jul 2012 10:58:13 PM UTCNoneAttached File-=>Added voronoi.patch, #26190

    Back to the top


    Powered by Savane 3.1-cleanup1