in reply to Re: Issue on covariance calculation
in thread Issue on covariance calculation

Thanks for the reply. In fact, the previous version of the code was in that way. Forgot to change when modified it.
for (@data) { . . .
Thanks for pointing the mistake out.