diff options
Diffstat (limited to 'chilbert/GetLocation.hpp')
-rw-r--r-- | chilbert/GetLocation.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chilbert/GetLocation.hpp b/chilbert/GetLocation.hpp index 06e4b64..816b7b7 100644 --- a/chilbert/GetLocation.hpp +++ b/chilbert/GetLocation.hpp @@ -25,9 +25,9 @@ namespace chilbert { template <class P, class I> inline void -getLocation(const P* const p, const int n, const int i, I& l) +getLocation(const P* const p, const size_t n, const size_t i, I& l) { - for (int j = 0; j < n; ++j) { + for (size_t j = 0; j < n; ++j) { setBit(l, j, testBit(p[j], i)); } } |