This commit is contained in:
Mamy André-Ratsimbazafy 2020-06-19 00:24:50 +02:00
parent 4bbfd1dd45
commit 608d26e497
No known key found for this signature in database
GPG Key ID: 7B88AD1FE79492E1
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ macro randomTests(numTests: static int, curveSym, body: untyped): untyped =
result = newStmtList()
for _ in 0 ..< numTests:
let curve = RNG.rand(AvailableCurves)
let curve = RNG.sample(AvailableCurves)
result.add quote do:
block: