#11257: Avoid a coercion when computing an element to the power of 0
---------------------------+------------------------------------------------
   Reporter:  nborie       |          Owner:  nborie                        
       Type:  enhancement  |         Status:  needs_review                  
   Priority:  major        |      Milestone:  sage-4.7.1                    
  Component:  performance  |       Keywords:  coercion, element, power, zero
Work_issues:               |       Upstream:  N/A                           
   Reviewer:               |         Author:  Nicolas Borie                 
     Merged:               |   Dependencies:                                
---------------------------+------------------------------------------------
Changes (by newvalueoldvalue):

 * cc: SimonKing (added)
  * author:  => Nicolas Borie


Comment:

 Bonjour Nicolas!

 Thanks for your work on that. Please investigate the test failure reported
 by the patchbot, and double check that TestSuite is run on every parent
 that you modified. While we are at it, we probably want to implement
 ``.one()`` as a cached_method. I am not sure about the deletion of
 trailing whitespaces outside of the lines you change anyway, as this is
 subject to making conflicts.

 Ah, and do we want to do the same for .zero()?

 AmitiƩs,
                          Nicolas

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11257#comment:4>
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