diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-23 19:21:18 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-10-23 19:21:18 +0800 |
commit | f8e3388c3ffd10b9b06f0a431768dee6382c37ab (patch) | |
tree | a57d70020fa345e489644baf7c690b49f3ea896b | |
parent | 22973abb6459f937368c9473c564a37bd6134560 (diff) | |
download | dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.gz dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.tar.zst dexon-bls-f8e3388c3ffd10b9b06f0a431768dee6382c37ab.zip |
fix assert
-rw-r--r-- | src/bls_c_impl.hpp | 2 |
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++) { |