From ba9de011e73403cadf820d25d085a69a2f3d8c04 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 17 Mar 2017 20:01:33 +0900 Subject: [PATCH] fix comment --- include/mcl/util.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mcl/util.hpp b/include/mcl/util.hpp index 565fea1..0d6ed71 100644 --- a/include/mcl/util.hpp +++ b/include/mcl/util.hpp @@ -290,8 +290,8 @@ void powGenericCT(G& out, const G& x, const T *y, size_t n, void mul(G&, const G n--; } if (n == 0) return; - G tbl[4]; // tbl = { x, x^2, x^3 } - tbl[0] = x; // discard + G tbl[4]; // tbl = { discard, x, x^2, x^3 } + tbl[0] = x; tbl[1] = x; mul(tbl[2], x, x); tbl[2].normalize(); mul(tbl[3], tbl[2], x); tbl[3].normalize();