Update rprand.h
This commit is contained in:
parent
763129e96b
commit
c21edadab0
1 changed files with 1 additions and 1 deletions
2
src/external/rprand.h
vendored
2
src/external/rprand.h
vendored
|
@ -202,7 +202,7 @@ int *rprand_load_sequence(unsigned int count, int min, int max)
|
||||||
{
|
{
|
||||||
value = ((unsigned int)rprand_xoshiro()%(abs(max - min) + 1)) + min;
|
value = ((unsigned int)rprand_xoshiro()%(abs(max - min) + 1)) + min;
|
||||||
|
|
||||||
for (int j = 0; j < i; j++)
|
for (unsigned int j = 0; j < i; j++)
|
||||||
{
|
{
|
||||||
if (sequence[j] == value)
|
if (sequence[j] == value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue