bugGNU Octave - Bugs: bug #37270, Voronoi function fails with...

 
 

bug #37270: Voronoi function fails with duplicate input points

Submitted by:  None
Submitted on:  Tue 04 Sep 2012 08:52:38 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Nicholas MusolinoOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 15 Sep 2012 08:08:22 PM UTC, comment #1:

I fixed this and cleaned up the code in general in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/b99c52303d0b). To see the fix you will need to either build from Mercurial sources or wait until the next development release (3.8).

Rik <rik5>
Project Administrator
Tue 04 Sep 2012 08:52:38 PM UTC, original submission:

The voronoi(...) function fails when an two points in the input share (x,y) coordinates.

The error message is:
subscript indices must be either positive integers or logicals
error: evaluating argument list element number 1
error: called from:
error: /opt/share/octave/3.6.2/m/geometry/voronoi.m at line 140, column 9

The code in voronoi.m is:

I'm not familiar enough with the code to suggest a fix.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Sep 2012 08:08:22 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1