On Aug 26, 11:26 pm, Kevin McGown <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I think my fix above was incorrect. The relevant file is:
> /sage-2.8.2-i386-Darwin/local/lib/python2.5/site-packages/sage/rings/
> number_field/number_field_ideal.py
>
> I think the problem is with the following line:
> self.__is_principal = (len(v[0]) == 0) ## i.e., v[0] is the zero
> vector
>
> This above code gets 1 for the length of the zero vector. I replaced
> it with this line:
> self.__is_principal = (v[0] == "[0]~")
>
> I don't know if this is the best way to do it, but it seemed to fix
> the problem for me.
>
> - Kevin
Hello Kevin,
I have updated the trac ticket with your suggestions, see
http://sagetrac.org/sage_trac/ticket/487#comment:1
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---