diff options
Diffstat (limited to 'chilbert/GetBits.hpp')
-rw-r--r-- | chilbert/GetBits.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/GetBits.hpp b/chilbert/GetBits.hpp index 288fd25..196751d 100644 --- a/chilbert/GetBits.hpp +++ b/chilbert/GetBits.hpp @@ -32,10 +32,10 @@ namespace chilbert { */ template <class H, class I> inline void -getBits(const H& h, const size_t n, const size_t i, I& w) +get_bits(const H& h, const size_t n, const size_t i, I& w) { for (size_t j = 0; j < n; j++) { - setBit(w, j, testBit(h, i + j)); + set_bit(w, j, test_bit(h, i + j)); } } |