aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-10-31 12:38:57 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-10-31 12:38:57 +0800
commit65e17b8ff6221362a67dba08871cf4f16a50d431 (patch)
tree6642c254f2cc7e8cc620bacc2bdbc1189fb94950 /src
parent74a5e094a7a789c15fc876e3dc4c50eba97507ef (diff)
downloadtangerine-mcl-65e17b8ff6221362a67dba08871cf4f16a50d431.tar.gz
tangerine-mcl-65e17b8ff6221362a67dba08871cf4f16a50d431.tar.zst
tangerine-mcl-65e17b8ff6221362a67dba08871cf4f16a50d431.zip
remove warning of vc
Diffstat (limited to 'src')
-rw-r--r--src/fp_proto.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fp_proto.hpp b/src/fp_proto.hpp
index 8b3a36a..d053d29 100644
--- a/src/fp_proto.hpp
+++ b/src/fp_proto.hpp
@@ -337,7 +337,7 @@ struct MontRed {
for (size_t i = 1; i < N; i++) {
q = c[0] * rp;
MulUnitPre<N, Tag>::f(pq, p, q);
- Unit up = AddPre<N + 1, Tag>::f(c, c, pq);
+ up = AddPre<N + 1, Tag>::f(c, c, pq);
if (up) {
AddUnitPre<Tag>::f(c + N + 1, N - i, 1);
}