You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/01/12 12:15:46 UTC

[jira] Created: (MATH-470) MathUtilsTest.testArrayEquals() is flagged as deprecated, but should not be?

MathUtilsTest.testArrayEquals() is flagged as deprecated, but should not be?
----------------------------------------------------------------------------

                 Key: MATH-470
                 URL: https://issues.apache.org/jira/browse/MATH-470
             Project: Commons Math
          Issue Type: Bug
            Reporter: Sebb
             Fix For: 3.0


MathUtilsTest.testArrayEquals() is flagged as deprecated, but probably should not be.

The method that it tests - MathUtils.equals(double[] x, double[] y) - is not deprecated, so surely its tests should not be deprecated?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MATH-470) MathUtilsTest.testArrayEquals() is flagged as deprecated, but should not be?

Posted by "Gilles (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-470.
-------------------------

    Resolution: Fixed

Originally it was going to be removed because IIRC the code in CM only used the method where NaNs are considered equal. However someone might indeed find the new semantics useful too...
Removed deprecation in revision 1058110.


> MathUtilsTest.testArrayEquals() is flagged as deprecated, but should not be?
> ----------------------------------------------------------------------------
>
>                 Key: MATH-470
>                 URL: https://issues.apache.org/jira/browse/MATH-470
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 3.0
>
>
> MathUtilsTest.testArrayEquals() is flagged as deprecated, but probably should not be.
> The method that it tests - MathUtils.equals(double[] x, double[] y) - is not deprecated, so surely its tests should not be deprecated?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.