Skip to content

Commit

Permalink
Avoid trunc error in smarsa_BirthSpacings in bigcrushJulia
Browse files Browse the repository at this point in the history
Fix for bigcrushJulia battery test.
Use alternative parameters for smarsa_BirthdaySpacings to avoid error when converting 2^31 to Int32.
  • Loading branch information
GregPlowman authored Jan 13, 2025
1 parent 4920b41 commit 7bd6128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RNGTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ module RNGTest
g->smarsa_CollisionOver(g, 30, 2*10^7, 27, 8, 14),
g->smarsa_CollisionOver(g, 30, 2*10^7, 0, 4, 21),
g->smarsa_CollisionOver(g, 30, 2*10^7, 28, 4, 21),
g->smarsa_BirthdaySpacings(g, 100, 10^7, 0, 2^31, 2, 1),
g->smarsa_BirthdaySpacings(g, 250, 4*10^6, 0, 2^30, 2, 1),
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^21, 3, 1),
g->smarsa_BirthdaySpacings(g, 20, 3*10^7, 14, 2^16, 4, 1),
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^9, 7, 1),
Expand Down

0 comments on commit 7bd6128

Please sign in to comment.