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/22 01:40:00 UTC
[jira] [Resolved] (MATH-1621) "PointValuePair" equality
[ https://issues.apache.org/jira/browse/MATH-1621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Sadowski resolved MATH-1621.
-----------------------------------
Resolution: Fixed
Commit b5d21665ff0c3a420564537cd1da88c8f77ab5a5 ("master" branch).
> "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
> Priority: Major
> 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)