diff options
author | David Robillard <d@drobilla.net> | 2018-08-26 22:59:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-29 14:50:34 +0200 |
commit | a115beb0d3fedbe3d286ad1ba2dd7af319f7968d (patch) | |
tree | cc0a3dc5c6316939020adbc7e9d8a1e1c2813779 /chilbert/detail | |
parent | d5522f58d508827c0db084b2102d73bbafe00255 (diff) | |
download | chilbert-a115beb0d3fedbe3d286ad1ba2dd7af319f7968d.tar.gz chilbert-a115beb0d3fedbe3d286ad1ba2dd7af319f7968d.tar.bz2 chilbert-a115beb0d3fedbe3d286ad1ba2dd7af319f7968d.zip |
Use prefix increment/decrement in loops consistently
Diffstat (limited to 'chilbert/detail')
-rw-r--r-- | chilbert/detail/gray_code_rank.hpp | 2 |
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 { |