From 4e3d55c53e62aeb981c74d4f38875e6ce5917a20 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 29 Nov 2023 07:50:35 +0000 Subject: [PATCH] return_narrowing --- pacman/model/graphs/application/application_edge_partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pacman/model/graphs/application/application_edge_partition.py b/pacman/model/graphs/application/application_edge_partition.py index 87c410baf..3059d8e53 100644 --- a/pacman/model/graphs/application/application_edge_partition.py +++ b/pacman/model/graphs/application/application_edge_partition.py @@ -40,7 +40,7 @@ def __init__(self, identifier: str, pre_vertex: ApplicationVertex): pre_vertex=pre_vertex, identifier=identifier, allowed_edge_types=ApplicationEdge) - @overrides(AbstractSingleSourcePartition.add_edge) + @overrides(AbstractSingleSourcePartition.add_edge, return_narrowing=True) def add_edge(self, edge: ApplicationEdge): super().add_edge(edge) edge.post_vertex.add_incoming_edge(edge, self)