From 33f649dbbdef41c76eff07f03e7506cc44ba8d21 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 1 Jun 2023 14:54:04 -0700 Subject: [PATCH] noop --- aider/repomap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/repomap.py b/aider/repomap.py index 4cc5bfc3e..1022598d8 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -366,7 +366,7 @@ def call_map(): total_weight = sum(data["weight"] for _src, _dst, data in G.in_edges(dst, data=True)) dump(dst, dst_rank, total_weight) for _src, _dst, data in G.in_edges(dst, data=True): - data["rank"] = data["weight"] / total_weight * dst_rank + data["rank"] = dst_rank * data["weight"] / total_weight ident = data["ident"] ranked_definitions[(dst, ident)] += data["rank"]