[ https://issues.apache.org/jira/browse/MATH-894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Neidhart resolved MATH-894. ---------------------------------- Resolution: Fixed Cleanup and removal of deprecated methods in commit 76b7413d2b1eb2dc22f05de5b76f9519be5142e0. > Cleanup of "ResizableDoubleArray" ("o.a.c.m.util") > -------------------------------------------------- > > Key: MATH-894 > URL: https://issues.apache.org/jira/browse/MATH-894 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 3.0 > Reporter: Gilles > Assignee: Gilles > Priority: Minor > Fix For: 4.0 > > Attachments: MATH-894.patch > > > Method "addElement" should not call "contract()", as it will almost always > make the storage array shrink on the first call since it will be considered > "too big" (for just storing one element). > See discussion about this change in MATH-757. > Miscellaneous code modifications are also proposed in order to improve > encapsulation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)