From 0a8a3288c0d05aec72358944a03f337e02b17827 Mon Sep 17 00:00:00 2001 From: jedarden Date: Mon, 6 Apr 2026 18:34:18 -0400 Subject: [PATCH] fix: replace unused linkID with blank identifier in spatial_weights.go Co-Authored-By: Claude Opus 4.6 --- mothership/internal/localization/spatial_weights.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mothership/internal/localization/spatial_weights.go b/mothership/internal/localization/spatial_weights.go index 6cf4238..39f669b 100644 --- a/mothership/internal/localization/spatial_weights.go +++ b/mothership/internal/localization/spatial_weights.go @@ -598,7 +598,7 @@ func (l *SpatialWeightLearner) GetWeightStats() map[string]interface{} { maxWeight := 0.0 zoneCounts := make(map[[2]int]int) - for linkID, zones := range l.weightCache { + for _, zones := range l.weightCache { linkHasWeights := false for zoneX, rows := range zones { for zoneY, weight := range rows {