Re: [sage-support] Re: Serious bug in Graph.modular_decomposition (which propagates to Graph.is_prime)

2015-05-02 Thread Paulo Seijas
Hi Nathann, Thank you very much. With your help I was able to compile the library from the "new" sources and it is working properly now, although just for me of course. I understand your disappointment because of not being able to solve the issue for everybody. I am willing to write to the aut

Re: [sage-support] Re: Serious bug in Graph.modular_decomposition (which propagates to Graph.is_prime)

2015-05-02 Thread Paulo Seijas
Dear Nathann, I have just installed sage 6.6 and found out that the bug is still there and that I am not able to apply the same workaround as before. I used to replace dm.c and random.c, apply touch to modular_decomposition.pyx and do sage -b. That used to be enough. But I do not know how to re

Re: [sage-support] Re: Serious bug in Graph.modular_decomposition (which propagates to Graph.is_prime)

2012-11-23 Thread Paulo Seijas
Hello Nathann, Oh. Well, perhaps you need to do something like "touch > modular_decomposition.pyx" when you are in the > sage/graphs/modular_decomposition folder. Then run "sage -b". > modular_decomposition.pyx is the actual Sage code, that depends on the .c > file you modified. It should be e

[sage-support] Re: Serious bug in Graph.modular_decomposition (which propagates to Graph.is_prime)

2012-11-23 Thread Paulo Seijas
our instance > (translated from french) : > Final Tree: > Prime > +--3 > +--1 > +--5 > +--2 > +--4 > > Well.. It just means that I have to forward the bug you found to the > software's author :-) > > I just create a trac ticket about that : >

[sage-support] Serious bug in Graph.modular_decomposition (which propagates to Graph.is_prime)

2012-11-21 Thread Paulo Seijas
Hi, I think I have found a serious bug on Graph.modular_decomposition. Clearly, a graph is prime if and only if its complement is so. Nevertheless: sage: P = Graph('Dl_') sage: P.is_prime() True sage: P.complement().is_prime() False This behaviour seems to derive from Graph.modular_decompositio