You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the definition of cut vertices given in the documentation of the function, a cut vertex, when removed, increases the connected components of the graph. Either that documentation should be changed to mention a corner case, or (preferably), the above computation should look like:
Here it is ! Actually the answer [0],[0] seemed deliberate in the code, but my tests with the patch applied did not show any error coming from the fix :-)
Currently, block_and_cut_vertices says that the vertex in a single-vertex graph is a cut vertex:
According to the definition of cut vertices given in the documentation of the function, a cut vertex, when removed, increases the connected components of the graph. Either that documentation should be changed to mention a corner case, or (preferably), the above computation should look like:
CC: @sagetrac-hartke @rlmill @nathanncohen
Component: graph theory
Author: Nathann Cohen
Reviewer: Robert Miller
Merged: sage-4.3.1.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/7853
The text was updated successfully, but these errors were encountered: