Skip to content

Commit

Permalink
Fast count setup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudesunik committed Aug 13, 2020
1 parent eab6760 commit 199673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ru/kudesunik/random/KudesuRandom.java
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public boolean equals(Object obj) {
* Resets internal pseudorandom generator state
*/
public void reset() {
this.count = Long.MIN_VALUE;
this.count = Long.MIN_VALUE + 1;
this.nextGaussian = Double.NaN;
}
}

0 comments on commit 199673e

Please sign in to comment.