2
0
Tomasz Zieliński 1 жил өмнө
parent
commit
80ea1826d3
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/int3.h

+ 1 - 1
lib/int3.h

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