#13786: Fix remaining instances of ArithmeticError: 0^0 is undefined
---------------------------+------------------------------------------------
       Reporter:  mjo      |         Owner:  AlexGhitza
           Type:  defect   |        Status:  new       
       Priority:  major    |     Milestone:  sage-5.6  
      Component:  algebra  |    Resolution:            
       Keywords:           |   Work issues:            
Report Upstream:  N/A      |     Reviewers:            
        Authors:           |     Merged in:            
   Dependencies:           |      Stopgaps:            
---------------------------+------------------------------------------------
Description changed by mjo:

Old description:

> Some of these were fixed in #10772, but a few remain. Find/grep show,
>
> * ./libs/ntl/ntl_lzz_p.pyx
> * ./rings/finite_rings/element_givaro.pyx
> * ./rings/finite_rings/integer_mod.pyx
> * ./rings/padics/padic_capped_absolute_element.pyx
> * ./rings/padics/padic_capped_relative_element.pyx
> * ./rings/padics/padic_fixed_mod_element.pyx
> * ./rings/padics/padic_ZZ_pX_CR_element.pyx
> * ./rings/padics/padic_ZZ_pX_FM_element.pyx
> * ./rings/polynomial/polynomial_modn_dense_ntl.pyx
>
> Unless any of these are special (for whatever reason), we should return
> `1` instead from the appropriate ring.

New description:

 Some of these were fixed in #10772, but a few remain. Find/grep show,

 * ./libs/ntl/ntl_lzz_p.pyx
 * ./rings/finite_rings/element_givaro.pyx
 * ./rings/finite_rings/integer_mod.pyx (#13894)
 * ./rings/padics/padic_capped_absolute_element.pyx
 * ./rings/padics/padic_capped_relative_element.pyx
 * ./rings/padics/padic_fixed_mod_element.pyx
 * ./rings/padics/padic_ZZ_pX_CR_element.pyx
 * ./rings/padics/padic_ZZ_pX_FM_element.pyx
 * ./rings/polynomial/polynomial_modn_dense_ntl.pyx

 Unless any of these are special (for whatever reason), we should return
 `1` instead from the appropriate ring.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13786#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to