Tomasz Zieliński 2 år sedan
förälder
incheckning
80ea1826d3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lib/int3.h

+ 1 - 1
lib/int3.h

@@ -191,7 +191,7 @@ public:
         std::size_t hz = v.z + 1000;
 
         // Combine the hash values, multiplying them by prime numbers
-        return (hx * 4000037u) ^ (hy * 2003u) + hz;
+        return ((hx * 4000037u) ^ (hy * 2003u)) + hz;
     }
 };