bugGNU Octave - Bugs: bug #38013, convhulln returns incorrect...

 
 

bug #38013: convhulln returns incorrect results in some cases

Submitted by:  None
Submitted on:  Wed 02 Jan 2013 09:21:20 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 03 Jan 2013 04:21:41 PM UTC, comment #2:

Thanks for finding this solution. I patched on stable and merged with the default branch.

John W. Eaton <jwe>
Project Administrator
Thu 03 Jan 2013 03:52:29 PM UTC, comment #1:

According to following code in libqhull (io.c / qh_printafacet), the setting of facet->simplicial doesn't matters in 2D case.

So I prepared a little patch. Hope it doesn't break others cases.

Anonymous
Wed 02 Jan 2013 09:21:20 AM UTC, original submission:

convhulln returns incorrect results in following example:

It returns a 3x3 matrix instead of 3x2.

qhull commandline returns correct result:

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27193:  qhull_2d.patch added by None (693B - text/x-patch - convhulln patch for 2D case)

 

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 jordigh (Updated the item)
  • -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
    Thu 03 Jan 2013 04:21:41 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 03 Jan 2013 03:53:21 PM UTCNoneAttached File-=>Added qhull_2d.patch, #27193
    Wed 02 Jan 2013 03:21:13 PM UTCjordighSummaryconvhulln returns incorrect results in same cases=>convhulln returns incorrect results in some cases

    Back to the top


    Powered by Savane 3.1-cleanup1