On Thursday, August 31, 2017 at 12:41:26 AM UTC+9, Jeroen Demeyer wrote:
>
> On 2017-08-30 09:37, david....@inria.fr <javascript:> wrote: 
> > It's not a bug, it's how equality is defined 
>
> Thinking of the coercion model, I would argue that this is a bug. 
>

It is not a bug as it behaves as documented. But I still wonder whether it 
is sound to test the condition

- they have the same settings for loops, multiedges, and weightedness

for equality. Equality for mathematical objects in Sage should be 
mathematical, as far as practical.


 

>
> Of course we don't do coercions for graphs, but one could imagine a 
> coercion 
>
> graphs without loops -> graphs with loops 
>
> and then the coercion model should compare the graphs after coercing 
> both to graphs with loops. 
>

-- 
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