From 77d1ded7cca4eff5d78f090cf5befbb81918249f Mon Sep 17 00:00:00 2001 From: David Dawes Date: Sun, 14 Oct 2018 22:20:13 -0700 Subject: [PATCH] Use the 64 bit reverser, the only one provided. --- src/snark/libsnark/common/utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snark/libsnark/common/utils.hpp b/src/snark/libsnark/common/utils.hpp index 4b036a859..c4ce26735 100644 --- a/src/snark/libsnark/common/utils.hpp +++ b/src/snark/libsnark/common/utils.hpp @@ -25,7 +25,7 @@ size_t log2(size_t n); inline size_t exp2(size_t k) { return UINT64_C(1) << k; } -size_t bitreverse(size_t n, const size_t l); +uint64_t bitreverse(uint64_t n, const uint64_t l); bit_vector int_list_to_bits(const std::initializer_list &l, const size_t wordsize); int64_t div_ceil(int64_t x, int64_t y);