Changes between Version 23 and Version 33 of Ticket #17548


Ignore:
Timestamp:
03/09/15 14:04:33 (5 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17548

    • Property Cc jakobkroeker aschilling added
    • Property Priority changed from minor to major
  • Ticket #17548 – Description

    v23 v33  
    1 The following bug was reported by an humanoid:
     1There are various bugs in `Partitions`/`Compositions`, especially when many constraints are combined:
    22
    33{{{
     
    66}}}
    77
    8 Even worse (since silent):
     8{{{
     9sage: Partitions(6, outer=[4,2], inner=[3,3]).list()
     10[[3, 3]]
     11}}}
    912
    1013{{{
    11 sage: Partitions(5, min_slope=2).list()
    12 [[5]]
     14sage: Compositions(4, length=3, min_slope=1).list()
     15[[1, 2, 4]]
    1316}}}
     17
     18{{{
     19sage: Compositions(6, max_part=3, max_slope=-1).list()
     20[[3, 3], [3, 2, 1]]
     21}}}