@@ -965,8 +965,9 @@ def __classcall_private__(cls, cartan_type, shapes=None, shape=None):
965965 raise ValueError ("shapes should all be partitions" )
966966 S = CrystalOfSpins (cartan_type )
967967 B = CrystalOfTableaux (cartan_type , shapes = shapes )
968- T = TensorProductOfCrystals (S , B , generators = [[S .module_generators [0 ],x ] for x in B .module_generators ])
969- T .rename ("The crystal of tableaux of type %s and shape(s) %s" % (cartan_type , list (list (shape ) for shape in spin_shapes )))
968+ T = TensorProductOfCrystals (S , B , generators = [[S .module_generators [0 ], x ] for x in B .module_generators ])
969+ T .rename ("The crystal of tableaux of type %s and shape(s) %s" %
970+ (cartan_type , [list (shape ) for shape in spin_shapes ]))
970971 T .shapes = spin_shapes
971972 return T
972973
@@ -987,13 +988,14 @@ def __init__(self, cartan_type, shapes):
987988 sage: T = crystals.Tableaux(['A',3], shape = [2,2])
988989 sage: TestSuite(T).run()
989990 """
990- # super().__init__(category = FiniteEnumeratedSets())
991+ # super().__init__(category = FiniteEnumeratedSets())
991992 Parent .__init__ (self , category = ClassicalCrystals ())
992993 self .letters = CrystalOfLetters (cartan_type )
993994 self .shapes = shapes
994- self .module_generators = tuple (self .module_generator (la ) for la in shapes )
995+ self .module_generators = tuple (self .module_generator (la )
996+ for la in shapes )
995997 self .rename ("The crystal of tableaux of type %s and shape(s) %s"
996- % (cartan_type , list (list ( shape ) for shape in shapes ) ))
998+ % (cartan_type , [ list (shape ) for shape in shapes ] ))
997999
9981000 def cartan_type (self ):
9991001 """
0 commit comments