[ 
https://issues.apache.org/jira/browse/MATH-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13451322#comment-13451322
 ] 

Gilles commented on MATH-858:
-----------------------------

Which version of Commons Math are you using?

In the current development version, this code:
{noformat}
BlockRealMatrix correlationMatrix = new 
PearsonsCorrelation().computeCorrelationMatrix(data);
{noformat}
does not even compile.

When you report a bug, please provide a fully working minimal code example.

Could you also provide the stack trace of the exception?

Moreover I cannot find any Commons Math error message that contains the string 
"mismatch between indexed read"...

                
> BlockRealMatrix java.beans.IntrospectionException
> -------------------------------------------------
>
>                 Key: MATH-858
>                 URL: https://issues.apache.org/jira/browse/MATH-858
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: MacOSX 10.8.1 (Macbook Air 4Gb RAM)- IntelliJ IDEA 11 - 
> Grails 2.10 
>            Reporter: Massimiliano Dongiovanni
>              Labels: BlockRealMatrix
>
> When I try to read properties (like getColumnDimension) of an instance of 
> class BlockRealMatrix (org.apache.commons.math3.linear.BlockRealMatrix), 
> system raise this exception:
> Class - java.beans.IntrospectionException
> Message - type mismatch between indexed read and indexed write methods: 
> columnMatrix
> =================
> Code
> import org.apache.commons.math3.stat.correlation.PearsonsCorrelation
> import strategoianalysis.util.math.matrix.MatrixStatutils
> import org.apache.commons.math3.linear.*
> class JohnsonRWAController {
>     private double[] computeRWA(double[][] data) {
> BlockRealMatrix correlationMatrix = new 
> PearsonsCorrelation().computeCorrelationMatrix(data)
>         int rowDim = correlationMatrix.getRowDimension() 
>         
>       //EXCEPTION HERE
> .... etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to