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
Hi, this algorithm throws an error when value of M=1. It works fine at M=0 and M=2. Any specific reasons for not working at M=1?
The text was updated successfully, but these errors were encountered:
Hmm the levelLambda defaults to levelLambda = 1 / Math.log(this.m) which becomes Infinity at m = 1
levelLambda = 1 / Math.log(this.m)
which makes assignLevel return Integer.MAX_VALUE
Integer.MAX_VALUE
and then I do IntArrayList[] connections = new IntArrayList[randomLevel + 1]; which overflows the integer and makes it become negative..
IntArrayList[] connections = new IntArrayList[randomLevel + 1];
lovely.. i'll see if i can fix this
Sorry, something went wrong.
No branches or pull requests
Hi, this algorithm throws an error when value of M=1. It works fine at M=0 and M=2. Any specific reasons for not working at M=1?
The text was updated successfully, but these errors were encountered: