Bernard Lidicky reported me the following issue with method is_line_graph.
I don't know how to fix that and I opened ticket 
https://trac.sagemath.org/ticket/29740

sage: g = Graph('O{e[{}^~z`MDZBZBkXzE^')

sage: g.is_line_graph()

---------------------------------------------------------------------------

Exception                                 Traceback (most recent call last)

<ipython-input-2-6f1d1161d3c4> in <module>()

----> 1 g.is_line_graph()


/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/graphs/
line_graph.pyx in sage.graphs.line_graph.is_line_graph (build/cythonized/
sage/graphs/line_graph.c:2286)()

*    220*     if g.is_connected():

*    221*         try:

--> 222             R, isom = root_graph(g)

*    223*             if certificate:

*    224*                 return True, R, isom

/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/graphs/
line_graph.pyx in sage.graphs.line_graph.root_graph (build/cythonized/sage/
graphs/line_graph.c:7147)()

*    621*

*    622*     if not is_isom:

--> 623         raise Exception(error_message)

*    624*

*    625*     return R, isom

Exception: It looks like there is a problem somewhere. Youfound a bug here ! 
Please report it on sage-devel,our google group !


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/bc9ac959-881e-4c80-9ec9-a5a7e4b5e129%40googlegroups.com.

Reply via email to