From be2b474873099964245f163a04f64e98ee042f8e Mon Sep 17 00:00:00 2001 From: Joris van Rantwijk Date: Wed, 10 May 2023 20:54:29 +0200 Subject: [PATCH] Minor clarifications in comments --- python/mwmatching.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/mwmatching.py b/python/mwmatching.py index 14627ee..dae66b3 100644 --- a/python/mwmatching.py +++ b/python/mwmatching.py @@ -388,7 +388,6 @@ class _Blossom: # "marker" is a temporary variable used to discover common # ancestors in the blossom tree. It is normally False, except # when used by "trace_alternating_paths()". - # It is also used by "expand_zero_dual_blossoms()". self.marker: bool = False def vertices(self) -> list[int]: @@ -1305,7 +1304,7 @@ class _MatchingContext: by.label = _LABEL_T by.tree_edge = (x, y) - # Assign label S to the blossom that contains the mate of vertex "y". + # Assign label S to the blossom that is mated to the T-blossom. z = self.vertex_mate[by.base_vertex] assert z != -1 self.assign_label_s(z)