[ 
https://issues.apache.org/jira/browse/MATH-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luc Maisonobe resolved MATH-1123.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.4

Fixed in subversion repository as of r1595924.

The problem was triggered as several points from the convex hull were aligned 
when the convec region was built. As such convex regions can also be built 
directly by users from regular public API, the place you fixed it was 
appropriate. So I simply moved the test as a stop condition in the loop, but it 
was quite good as is.

Thanks for the report and for the patch.

> NPE in BSPTree#fitToCell()
> --------------------------
>
>                 Key: MATH-1123
>                 URL: https://issues.apache.org/jira/browse/MATH-1123
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.3
>         Environment: Win32_64
>            Reporter: Labrosse Aurélien
>             Fix For: 3.4
>
>         Attachments: ConvexHullTest.java
>
>
> Hello, 
> I faced a NPE using  BSPTree#fitToCell() from the SVN trunk. I fixed the 
> problem using a small patch I will attach to the ticket.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to