summary refs log tree commit diff
path: root/src/Math/Random.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Math/Random.cpp')
-rw-r--r--src/Math/Random.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Math/Random.cpp b/src/Math/Random.cpp
index e35cda7..aa0ff55 100644
--- a/src/Math/Random.cpp
+++ b/src/Math/Random.cpp
@@ -18,7 +18,7 @@ float to_float(uint8_t u) {
 }
 
 uint8_t hash(uint8_t x) {
-    auto o = ((x ^ 0xAA) * 5);
+    auto o = (x ^ 0xAA) * 5;
     auto rot = o % 8;
     return o << rot | o >> (8 - rot);
 }