ALGO: rm empty 'where' in KDTree
This commit is contained in:
parent
8abe795add
commit
f16fe7738a
@ -121,7 +121,6 @@ rangeSearch kd' sq' = (goPt kd' sq', goTree kd' sq' True)
|
|||||||
++ (if' ((cur' dir . unp2 $ pt) < p2' dir sq)
|
++ (if' ((cur' dir . unp2 $ pt) < p2' dir sq)
|
||||||
(goPt rn sq)
|
(goPt rn sq)
|
||||||
[])
|
[])
|
||||||
where
|
|
||||||
-- A pretty rose tree suitable for printing.
|
-- A pretty rose tree suitable for printing.
|
||||||
goTree :: KDTree PT -> Square -> Bool -> Tree String
|
goTree :: KDTree PT -> Square -> Bool -> Tree String
|
||||||
goTree KTNil _ _ = Node "nil" []
|
goTree KTNil _ _ = Node "nil" []
|
||||||
|
Loading…
Reference in New Issue
Block a user