Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0
-
None
-
None
Description
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.
Attachments
Attachments
Issue Links
- relates to
-
MATH-757 ResizableDoubleArray is not thread-safe yet has some synch. methods
- Resolved