aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert/detail/gray_code_rank.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert/detail/gray_code_rank.hpp')
-rw-r--r--chilbert/detail/gray_code_rank.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chilbert/detail/gray_code_rank.hpp b/chilbert/detail/gray_code_rank.hpp
index 815519e..b17f193 100644
--- a/chilbert/detail/gray_code_rank.hpp
+++ b/chilbert/detail/gray_code_rank.hpp
@@ -48,7 +48,7 @@ compact_index(const size_t* const ms,
auto hcm = hc.mask(0);
// Run through the levels of precision
- for (size_t i = 0; i < m; i++) {
+ for (size_t i = 0; i < m; ++i) {
// Run through the dimensions
size_t j = ds[i];
do {