John Bay created MATH-1252:
------------------------------
Summary: ResizableDoubleArray does not work with double array of
size 1
Key: MATH-1252
URL: https://issues.apache.org/jira/browse/MATH-1252
Project: Commons Math
Issue Type: Bug
Affects Versions: 3.5
Reporter: John Bay
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) {
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)