From abaef4936ca90be1845528e7f3a2110bea79f4c2 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Sat, 6 Sep 2014 23:34:05 +0200 Subject: [PATCH] BigMin unit test now passes. --- common/coords.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/coords.go b/common/coords.go index b714d07..a3b2318 100644 --- a/common/coords.go +++ b/common/coords.go @@ -252,8 +252,8 @@ func NaiveBigMin(minz, maxz, zcode int64) int64 { const ( bits = 12 msb = uint8(3*bits - 1) - mask = int64(0x924924924924924) - full = int64(0xfffffffffffffff) + mask = int64(0x924924924) + full = int64(0xfffffffff) ) func setbits(p uint8, v int64) int64 {