[
https://issues.apache.org/jira/browse/MATH-988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luc Maisonobe resolved MATH-988.
--------------------------------
Resolution: Fixed
Fixed in subversion repository as of r1488866.
Patch applied with minor whitespace changes.
Thanks for the report and for the patch.
> NPE when calling SubLine.intersection() with non-intersecting lines
> -------------------------------------------------------------------
>
> Key: MATH-988
> URL: https://issues.apache.org/jira/browse/MATH-988
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0, 3.1, 3.2, 3.1.1
> Reporter: Andreas Huber
> Attachments: SubLineIntersection.patch
>
>
> When calling SubLine.intersection() with two lines that not intersect, then a
> NullPointerException is thrown in Line.toSubSpace(). This bug is in the twod
> and threed implementations.
> The attached patch fixes both implementations and adds the required test
> cases.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira