From 97b3b3a780da0126aa21807352f62efd863599e2 Mon Sep 17 00:00:00 2001 From: alingse Date: Wed, 3 Jul 2024 21:43:37 +0800 Subject: [PATCH] Fix: append all slice data when range for it --- algorithm/overlay/chain/intersection_interior.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithm/overlay/chain/intersection_interior.go b/algorithm/overlay/chain/intersection_interior.go index 2c2d01d..c6bca88 100644 --- a/algorithm/overlay/chain/intersection_interior.go +++ b/algorithm/overlay/chain/intersection_interior.go @@ -31,7 +31,7 @@ func (ii *IntersectionInterior) ProcessIntersections( if ip.IsCollinear { continue } - ii.Intersections = append(ii.Intersections, ips...) + ii.Intersections = append(ii.Intersections, ip) } } }