diff options
-rw-r--r-- | src/ringct/multiexp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/multiexp.cc b/src/ringct/multiexp.cc index b05840322..901b00edd 100644 --- a/src/ringct/multiexp.cc +++ b/src/ringct/multiexp.cc @@ -605,7 +605,7 @@ rct::key pippenger(const std::vector<MultiexpData> &data, const std::shared_ptr< maxscalar = data[i].scalar; } size_t groups = 0; - while (groups < 256 && pow2(groups) < maxscalar) + while (groups < 256 && !(maxscalar < pow2(groups))) ++groups; groups = (groups + c - 1) / c; |