From f8e3388c3ffd10b9b06f0a431768dee6382c37ab Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 23 Oct 2018 20:21:18 +0900 Subject: fix assert --- src/bls_c_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bls_c_impl.hpp b/src/bls_c_impl.hpp index 16b79f9..255b209 100644 --- a/src/bls_c_impl.hpp +++ b/src/bls_c_impl.hpp @@ -41,7 +41,7 @@ int blsInitNotThreadSafe(int curve, int compiledTimeVar) if (curve == MCL_BN254) { #include "./qcoeff-bn254.hpp" g_Qcoeff.resize(BN::param.precomputedQcoeffSize); - assert(g_Qcoeff.size() == CYBOZU_NUM_OF_ARRAY(tbl)); + assert(g_Qcoeff.size() == CYBOZU_NUM_OF_ARRAY(QcoeffTblBN254)); for (size_t i = 0; i < g_Qcoeff.size(); i++) { Fp6& x6 = g_Qcoeff[i]; for (size_t j = 0; j < 6; j++) { -- cgit v1.2.3