#15998: Restore some documentation and doctests and a function removed with 
#15466
-------------------------------------+-------------------------------------
       Reporter:  darij              |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-6.2
      Component:  combinatorics      |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Darij Grinberg     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/combinat/re-15466           |  5f67fa2245dec9fbf1670c75cd0a41a6da18959f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by ncohen):

 * status:  needs_review => positive_review


Comment:

 Well. You know that x[h] is at least 3, and that everything to its right
 is a 1.

 First, if the current partition is not of length k then you know that you
 can add a new entry, so for sure you can decrease the current value and
 move a +1 somewhere to the right

 So the current partition has length exactly k.

 If there IS some 1 to the right of x[h], then for sure you can decrease
 your current value and increase a value somewhere to the right, for they
 are not all equal to x[h]-1

 So your current partition has length exactly k, and there is no 1 to the
 right of x[h].

 Thus, you must decrease h until you see an element x[h'] which is at least
 x[h]+2

 Ahahahah. Except if I made a mistake somewhere. But I DID look at this
 line for more than an hour :-P

 By the way, it is totally impossible to type [] on a mac keyboard. I
 wonder how can anybody write code with their cursed keyboard.

 Your changes are okay, so this patch goes in ! ;-)

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15998#comment:25>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to