.... = new IntKeyIntOpenHashMap(0);
causes
java.lang.IllegalArgumentException at bak.pcj.hash.Primes.nextPrime(Primes.java:132)
because nextPrime throws an exception on 0.
Minimally, the code and the documentation are out of synch.
Regards, Crawford
Logged In: YES user_id=43402
This has been corrected for all the open hashing classes (including sets). The bugfix will be released with version 1.3.
Log in to post a comment.
Logged In: YES
user_id=43402
This has been corrected for all the open hashing classes
(including sets). The bugfix will be released with version 1.3.