Could you give a code sample?

= Eric MacAdie


On Sun, Jan 3, 2016 at 11:37 AM, Daniel Price <danprice303@gmail.com> wrote:
Got this 2.4.5 Groovy error trying to perform a covariance calc:

groovy.lang.MissingMethodException: No signature of method: org.apache.commons.math3.stat.correlation.Covariance.covariance() is applicable for argument types: ([Ljava.lang.Double;, [Ljava.lang.Double;)

covariance() requires two double arrays, and that's what I provided, so what gives?

Do I need to cast the Groovy/Java array into another type?

Any advice is much appreciated!

D