diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-02 11:00:53 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-11-02 11:00:53 +0800 |
commit | 59b61f77ef76f5296a747f4eb500566feb774074 (patch) | |
tree | 55d088c1e6680b31d514cf9cb32e8c35103bf78f | |
parent | ac0e9d9813e3f1da294505b5689d13b7d1d95429 (diff) | |
download | tangerine-mcl-59b61f77ef76f5296a747f4eb500566feb774074.tar.gz tangerine-mcl-59b61f77ef76f5296a747f4eb500566feb774074.tar.zst tangerine-mcl-59b61f77ef76f5296a747f4eb500566feb774074.zip |
fix compile error if MCL_USE_OLD_MAPTO_FOR_BLS12 is defined
-rw-r--r-- | include/mcl/bn.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index 8e9a9c6..7f7a689 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -523,7 +523,7 @@ struct MapTo { mulByCofactorBN(P, P); } else { #ifdef MCL_USE_OLD_MAPTO_FOR_BLS12 - naiveMapTo<G1, Fp>(P, t); + naiveMapTo<G2, Fp2>(P, t); #else if (!calcBN<G2, Fp2>(P, t)) return false; #endif |