This commit is contained in:
nora 2020-12-05 23:15:48 +01:00
parent a395a0dc98
commit 1226271a94

View file

@ -38,7 +38,7 @@ public class GoodRandom {
resultNumber += Math.pow(4, i) * getFourDigit();
}
int resultNormalized = resultNumber % range;
return resultNormalized += min;
return resultNormalized + min;
}
private int getFourDigit(){