Opened 4 years ago

Last modified 4 years ago

#24876 new defect

Bug in SimilarityClassTypes in sage-combinat

Reported by: gh:samrithram Owned by:
Priority: major Milestone: sage-8.2
Component: combinatorics Keywords:
Cc: amri Merged in:
Authors: Samrith Ram Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


Bug in the .as_partition_dictionary() method. The following code gives a value error.

sage: for tau in SimilarityClassTypes(3):
          print tau.as_partition_dictionary()

The error is

ValueError: [1, 2] is not an element of Partitions

Error in sage 8.1 running on 64-bit Ubuntu 16.04.

Change History (1)

comment:1 Changed 4 years ago by tscrim

  • Cc amri added
Note: See TracTickets for help on using tickets.