[sage-devel] Re: #2755 related doctest failure in totallyreal_rel.py

2008-05-02 Thread Nick Alexander
On 2-May-08, at 9:46 AM, John Voight wrote: > > Is there a canonical way to sort elements of an algebraic number > field? I can think of one or two, but this is a needlessly costly > thing to do, IMHO. You're asking for a canonical representation, which amounts to a canonical choice of a defi

[sage-devel] Re: #2755 related doctest failure in totallyreal_rel.py

2008-05-02 Thread John Voight
Is there a canonical way to sort elements of an algebraic number field? I can think of one or two, but this is a needlessly costly thing to do, IMHO. JV --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: #2755 related doctest failure in totallyreal_rel.py

2008-05-02 Thread mhampton
This looks like a dict was involved at some point - maybe just sorting the list would be enough? On May 2, 8:23 am, "Michael Abshoff" <[EMAIL PROTECTED]> wrote: > On Fri, May 2, 2008 at 4:22 PM, John Voight <[EMAIL PROTECTED]> wrote: > > Yes, the ordering of the elements does not at all affect th

[sage-devel] Re: #2755 related doctest failure in totallyreal_rel.py

2008-05-02 Thread Michael Abshoff
On Fri, May 2, 2008 at 4:22 PM, John Voight <[EMAIL PROTECTED]> wrote: > Yes, the ordering of the elements does not at all affect the > correctness of the output--the most mathematically correct thing would > be to output a set. This change can be due to any number of things, > but it's probably

[sage-devel] Re: #2755 related doctest failure in totallyreal_rel.py

2008-05-02 Thread John Voight
Yes, the ordering of the elements does not at all affect the correctness of the output--the most mathematically correct thing would be to output a set. This change can be due to any number of things, but it's probably not worth ascertaining the exact cause. JV --~--~-~--~~-