commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajo Fod (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MATH-989) Allow code to avoid OutOfRangeException
Date Fri, 07 Jun 2013 16:30:22 GMT

    [ https://issues.apache.org/jira/browse/MATH-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678123#comment-13678123
] 

Ajo Fod commented on MATH-989:
------------------------------

Yes, that would work well. Thanks!
                
> Allow code to avoid OutOfRangeException
> ---------------------------------------
>
>                 Key: MATH-989
>                 URL: https://issues.apache.org/jira/browse/MATH-989
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Ajo Fod
>         Attachments: patch
>
>
> Exceptions are generally costlier than a test. In the BicubicSplineInterpolatingFunction,
there is no way to determine if a given x is in domain of the interpolator. So, I suggest
a function to allow this check.

--
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

Mime
View raw message