From 608d26e497be6f94669965a012ba4fb392744b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Fri, 19 Jun 2020 00:24:50 +0200 Subject: [PATCH] Fix #55 --- tests/t_finite_fields_vs_gmp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/t_finite_fields_vs_gmp.nim b/tests/t_finite_fields_vs_gmp.nim index 1880336..20d0749 100644 --- a/tests/t_finite_fields_vs_gmp.nim +++ b/tests/t_finite_fields_vs_gmp.nim @@ -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: