Changes between Version 1 and Version 2 of Ticket #17548, comment 25


Ignore:
Timestamp:
02/22/15 11:18:29 (5 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17548, comment 25

    v1 v2  
    66{{{
    77#!python
    8 sage: IntegerListsLex(5, length=3).list()               # it is 0
     8sage: IntegerListsLex(5, length=3).list()               # ok: it is 0
    99[[5, 0, 0],
    1010 [4, 1, 0],
     
    1414 [0, 1, 4],
    1515 [0, 0, 5]]
    16 sage: IntegerListsLex(5, length=3, max_slope=0).list()   # it is 0
     16sage: IntegerListsLex(5, length=3, max_slope=0).list()   # ok: it is 0
    1717[[5, 0, 0], [4, 1, 0], [3, 2, 0], [3, 1, 1], [2, 2, 1]]
    18 sage: IntegerListsLex(5, max_slope=0).list()             # now it is 1!?
     18sage: IntegerListsLex(5, max_slope=0).list()             # now it is 1
    1919[[5], [4, 1], [3, 2], [3, 1, 1], [2, 2, 1], [2, 1, 1, 1], [1, 1, 1, 1, 1]]
    2020}}}