We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When this piece of code is run, invalid offsets are accessed within the x2 array:
//Eliminate rows and columns with nonzero sums if(validRowcount!=nrow || validColCount!=ncol){ double[][] x2 = new double[validRowcount][validColCount]; int r=0; int c=0; N=0; for(int i=0;i<nrow;i++){ c=0; for(int j=0;j<ncol;j++){ x2[r][c] = data[goodRow[i]][goodCol[j]]; N+=x2[r][c]; c++; } r++; } data=x2; nrow = data.length; ncol = data[0].length; }
As I'm not quite sure what is supposed to happen at this point, I didn't submit a pull request.
The text was updated successfully, but these errors were encountered:
There's more work to be done with the polychoric correlations. Would you post a test case that causes the error? Thanks.
Sorry, something went wrong.
Added 3 test cases to show meyerjp3#5
af6322e
Done, see: #6
Merge pull request #6 from pereferrera/master
9683699
Added 3 test cases to show #5, ArrayIndexOutOfBoundsException in AbstractPolychoricCorrelation
No branches or pull requests
When this piece of code is run, invalid offsets are accessed within the x2 array:
As I'm not quite sure what is supposed to happen at this point, I didn't submit a pull request.
The text was updated successfully, but these errors were encountered: