Changes between Version 36 and Version 37 of Ticket #17548


Ignore:
Timestamp:
03/14/15 13:49:17 (5 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17548 – Description

    v36 v37  
    99}}}
    1010
     11When slopes are equal, things often go wrong:
    1112{{{
    1213sage: C = Compositions(4, min_slope=0, max_slope=0)
     
    1718}}}
    1819
     20Contradictory length bounds still give results:
    1921{{{
    2022sage: C = Compositions(6, min_length=3, max_length=2)
     
    2527}}}
    2628
     29`max_part` is not respected:
    2730{{{
    2831sage: C = Compositions(4, max_part=2, min_slope=1)
     
    3235[[1, 3]]
    3336}}}
     37
     38Strange exception which really shouldn't be an exception:
     39{{{
     40sage: Compositions(10, inner=[1,1], max_slope=-1)
     41...
     42ValueError: floor does not satisfy the max slope condition
     43}}}