diff --git a/core/src/main/scala/Hash.scala b/core/src/main/scala/Hash.scala index a1c8a320..f2db9a2e 100644 --- a/core/src/main/scala/Hash.scala +++ b/core/src/main/scala/Hash.scala @@ -29,7 +29,7 @@ object PositionHash: opaque type Hash = Int object Hash: val size = 3 - def apply(value: Int): Hash = value & 0x00ff_ffff + def apply(value: Int): Hash = value >>> 8 def apply(situation: Situation): Hash = hashSituation(situation) >>> 8 private def hashSituation(situation: Situation): Int =