#17979: Reimplementation of IntegerListsLex
-------------------------------------+-------------------------------------
Reporter: aschilling | Owner:
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-6.6
Component: combinatorics | Resolution:
Keywords: days64 | Merged in:
Authors: Bryan Gillespie, | Reviewers: Nathann Cohen, Jeroen
Anne Schilling, Nicolas M. Thiery | Demeyer, Travis Scrimshaw
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/ticket/17979 | e60c3321ea62eeec8e8a1a07d964198ed8205479
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by ncohen):
The function `_possible_m(self, m, j, min_sum, max_sum)` takes four
parameters, all of which are attributes of `self`.
{{{
if self._next_state == LOOKAHEAD:
m = self._current_list[-1]
if self._possible_m(m, self._j,
min_sum - (self._current_sum-m),
max_sum - (self._current_sum-m)):
}}}
It would make more sense to me if this function had no arguments at all.
--
Ticket URL: <http://trac.sagemath.org/ticket/17979#comment:326>
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.