util/PooledRandomSource.java

This commit is contained in:
duck
2005-06-03 20:23:32 +00:00
committed by zzz
parent fd52bcf8cd
commit adeb09576a

View File

@ -35,7 +35,7 @@ public class PooledRandomSource extends RandomSource {
private final RandomSource pickPRNG() {
int i = _nextPool;
_nextPool = (_nextPool++) % POOL_SIZE;
_nextPool = (++_nextPool) % POOL_SIZE;
return _pool[i];
}