aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 19:21:18 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 19:21:18 +0800
commitf8e3388c3ffd10b9b06f0a431768dee6382c37ab (patch)
treea57d70020fa345e489644baf7c690b49f3ea896b
parent22973abb6459f937368c9473c564a37bd6134560 (diff)
downloaddexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.gz
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.bz2
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.lz
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.xz
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.zst
dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.zip
fix assert
-rw-r--r--src/bls_c_impl.hpp2
1 files changed, 1 insertions, 1 deletions
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++) {