Re: [sage-combinat-devel] a problem with cartesian product of directed graphs ?

2012-03-28 Thread Nicolas M. Thiery
On Wed, Mar 28, 2012 at 01:36:11AM -0700, Frédéric Chapoton wrote: >I have found the following wrong behaviour on sage 4.8, without >sage-combinat > >sage: P=DiGraph([[0,1]]) >sage: Q=P.cartesian_product(P) >sage: len(Q.edges()) >0 > >The result is a

[sage-combinat-devel] a problem with cartesian product of directed graphs ?

2012-03-28 Thread Frédéric Chapoton
Hello, I have found the following wrong behaviour on sage 4.8, without sage-combinat sage: P=DiGraph([[0,1]]) sage: Q=P.cartesian_product(P) sage: len(Q.edges()) 0 The result is a disconnected union of 4 points. This should be a directed square, with 4 edges. Maybe this i