The problem is that bliss and Sage do not agree on which one
is canonical

sage: G1 = Graph("Cr")
sage: G2 = Graph("C]")

sage: G1.canonical_label(algorithm='bliss') == G1
True
sage: G1.canonical_label(algorithm='sage') == G2
True

I thought that the definition of the canonical labels was the
order on vertices that minimize the adjacency matrix in
lexicographic order...

Vincent

Le 02/01/2019 à 08:32, Vincent Delecroix a écrit :
I opened #26994

     https://trac.sagemath.org/ticket/26994

Le 02/01/2019 à 07:25, François Bissey a écrit :
We already have seen it in 8.5.beta but no one has opened a ticket yet for it
I think. Nor does anyone knows the real trigger for it.
Because I first spotted it in sage-on-gentoo I thought that it was a sqlite
version mismatch, but pure sage people started to report it…

François

On 2/01/2019, at 11:26, Vincent Delecroix <20100.delecr...@gmail.com> wrote:

Hello,

On 8.6.beta1 I have reproducible doctest failures in
databases/sql_db.py. The origin might be

  Trac #26702: Py3: Fix database/sql_db module for python3

Vincent

sage -t --long src/sage/databases/sql_db.py
**********************************************************************
File "src/sage/databases/sql_db.py", line 956, in sage.databases.sql_db.SQLDatabase.__init__
Failed example:
    D.show('simon')
Expected:
    graph6               vertices             edges
    ------------------------------------------------------------
    ?                    0                    0
    @                    1                    0
    A?                   2                    0
    A_                   2                    1
    B?                   3                    0
    BG                   3                    1
    BW                   3                    2
    Bw                   3                    3
    C?                   4                    0
    C@                   4                    1
    CB                   4                    2
    CF                   4                    3
    CJ                   4                    3
    CK                   4                    2
    CL                   4                    3
    CN                   4                    4
    C]                   4                    4
    C^                   4                    5
    C~                   4                    6
Got:
    graph6               vertices             edges
    ------------------------------------------------------------
    ?                    0                    0
    @                    1                    0
    A?                   2                    0
    A_                   2                    1
    B?                   3                    0
    BG                   3                    1
    BW                   3                    2
    Bw                   3                    3
    C?                   4                    0
    C@                   4                    1
    CB                   4                    2
    CF                   4                    3
    CJ                   4                    3
    C`                   4                    2
    CR                   4                    3
    CN                   4                    4
    Cr                   4                    4
    C^                   4                    5
    C~                   4                    6

--
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


--
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 post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to