You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/08/04 04:30:00 UTC

[jira] [Created] (MATH-1621) "PointValuePair" equality

Gilles Sadowski created MATH-1621:
-------------------------------------

             Summary: "PointValuePair" equality
                 Key: MATH-1621
                 URL: https://issues.apache.org/jira/browse/MATH-1621
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.6.1
            Reporter: Gilles Sadowski
            Assignee: Gilles Sadowski
             Fix For: 4.0


Class {{PointValuePair}} (in package {{o.a.c.m.legacy.optim}}) is missing an override of method {{equals(Object)}}.
The behaviour inherited from class {{Pair}} entails that numerically equal values fail the equality check (because references are compared).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)