aboutsummaryrefslogtreecommitdiffstats
path: root/test/glv_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/glv_test.cpp')
-rw-r--r--test/glv_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/glv_test.cpp b/test/glv_test.cpp
index 40f89c1..a917f51 100644
--- a/test/glv_test.cpp
+++ b/test/glv_test.cpp
@@ -178,7 +178,7 @@ void testGLV2()
CYBOZU_TEST_EQUAL(Q1, Q2);
}
for (int i = 1; i < 100; i++) {
- mcl::gmp::getRand(n, glv2.m, rg);
+ mcl::gmp::getRand(n, glv2.rBitSize, rg);
n %= r;
n -= r/2;
mapToG2(Q0, i);