diff options
Diffstat (limited to 'other/bitOps.cpp')
| -rw-r--r-- | other/bitOps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bitOps.cpp b/other/bitOps.cpp index d1ace9a..98fc994 100644 --- a/other/bitOps.cpp +++ b/other/bitOps.cpp @@ -14,5 +14,5 @@ int numberOfSetBits(int i) { // (z.B. 00111 => 01011 => 01101 => ...) ll nextPerm(ll v) { ll t = v | (v - 1); - return (t + 1) | (((~t & -~t) - 1) >> (__builtin_ctzll(v) + 1)); + return (t+1) | (((~t & -~t) - 1) >> (__builtin_ctzll(v) + 1)); } |
