From 64cef31f9f5f36674eb3d537e79aad17719d4a4d Mon Sep 17 00:00:00 2001 From: Giorgos Mousa Date: Mon, 13 May 2024 18:13:39 +0300 Subject: [PATCH] Avoid conflict with macro `minor` --- src/sage/matroids/graphic_matroid.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sage/matroids/graphic_matroid.pyx b/src/sage/matroids/graphic_matroid.pyx index 295034259a4..9b9d86563a1 100644 --- a/src/sage/matroids/graphic_matroid.pyx +++ b/src/sage/matroids/graphic_matroid.pyx @@ -607,7 +607,7 @@ cdef class GraphicMatroid(Matroid): # take contractions and deletions with what we have so far # then use method from abstract matroid class conset, delset = sanitize_contractions_deletions(self, contractions, deletions) - M = self.minor(contractions=conset, deletions=delset) + M = self._minor(contractions=conset, deletions=delset) should_be_true, elements = Matroid._has_minor(M, N, certificate=True) # elements is a tuple (contractions, deletions, dict)