Tomasz Zieliński %!s(int64=2) %!d(string=hai) anos
pai
achega
80ea1826d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     }
 };