Description
When attempting to create a ResizableDoubleArray with an array of a single value (e.g.
{4.0}), the constructor creates an internal array with 16 entries that are all 0.0
Bug looks like it might be on line 414 of ResizableDoubleArray.java:
if (data != null && data.length > 1) {
Attachments
Issue Links
- is duplicated by
-
MATH-1280 DescriptiveStatistics methods return NaN for operations on arrays with single items
- Closed