Skip to content
New issue

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

java.lang.ArrayIndexOutOfBoundsException: 10 #8

Open
qxzhou1010 opened this issue Jul 25, 2020 · 0 comments
Open

java.lang.ArrayIndexOutOfBoundsException: 10 #8

qxzhou1010 opened this issue Jul 25, 2020 · 0 comments

Comments

@qxzhou1010
Copy link

Hi, I am using your BigInt to implement a encryption algorithm. By testing, your BigInt has a better performance than BigInteger, so thanks for you creating a so excellent BigInt. But I occured one problem.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10 at com.zqx.ivhe.BigInt.subMag(BigInt.java:1153) at com.zqx.ivhe.BigInt.add(BigInt.java:1172)

I need to calcuate multiplication between a vector and a matrix, the size of them is (1025) (1025,1025). The element of the vector and matrix is a BigInt Object, and every element is a very big integer. I test for another vector and matrix with size of (65), (65,65) and successfully. But the size of them is (1025) (1025,1025) occur the above problem.
Please help me.
Thansk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant