Thanks for catching that.  #13172 is ready for review.
David
http://trac.sagemath.org/sage_trac/ticket/13172


On Tue, Jun 26, 2012 at 11:51 PM, Bohua <bohuaz...@gmail.com> wrote:

> An example that triggers the bug is:
>
> roots = mod(-1, 4489).nth_root(2, all=True)
>
> Note 4489=67^2 and 67^2 is the first prime >62.
>
> Following the hint given in the printed error, I changed the print mode
> near line 1168 of rings/finite_rings/integer_mod.pyx from 'digits' to
> 'bars'. This fixes the problem, but I don't know whether it will mess up
> something else.
>
> Version 5.0.1 on Linux
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to