Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-04-03 Thread Anne Schilling
Hello, In ticket #8649 the bugs in crystals are fixed, in particular the bug for type B crystals and the issue regarding idempotentness of the element constructors (thanks to Nicolas for helping me with some of the issues!). The patch is posted and needs review. Best, Anne Anne Schilling wrot

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-23 Thread Anne Schilling
In addition to the type B bug in crystals of tableaux and the issue with self(*an_element) == an_element in tensor_product, there seems to be a problem with FullTensorProductOfCrystals. The tensor factors are not typed any longer: sage: C = CrystalOfLetters(['A',2]) sage: T = TensorProductOfCryst

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-22 Thread Anne Schilling
Nicolas M. Thiery wrote: On Sun, Mar 21, 2010 at 02:36:26PM -0700, Anne Schilling wrote: Apparently, the input for TensorProdcutOfCrystals is a list without the brackets (see for example line 346 in /combinat/crystals/tensor_product.py, where the module_generators are created). Hence the correct

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-21 Thread Nicolas M. Thiery
On Sun, Mar 21, 2010 at 02:36:26PM -0700, Anne Schilling wrote: > Apparently, the input for TensorProdcutOfCrystals > is a list without the brackets (see for example line 346 > in /combinat/crystals/tensor_product.py, where the module_generators > are created). Hence the correct test would be > >

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-21 Thread Anne Schilling
Hi Florent and Nicolas, Thank you for your hints on how to debug this. Apparently, the input for TensorProdcutOfCrystals is a list without the brackets (see for example line 346 in /combinat/crystals/tensor_product.py, where the module_generators are created). Hence the correct test would be

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-19 Thread Nicolas M. Thiery
On Fri, Mar 19, 2010 at 12:39:28AM +0100, Florent hivert wrote: > Nicolas forgot to tell you that you have to had the option "catch=False" as in > sage: TestSuite(T).run(catch=False) > to prevent TestSuite for cathing the exception. More precisely, I forgot to suggest looking for "debugging

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-18 Thread Florent Hivert
Hi Anne, > Are you sure this works this way? For me it does not trigger the debugger > > sage: %pdb > Automatic pdb calling has been turned ON > sage: C = CrystalOfLetters(['A',2]) > sage: T = TensorProductOfCrystals(C,C,C,generators=[[C(2),C(1),C(1)]]) > sage: TestSuite(T).run() Nicolas fo

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-18 Thread Anne Schilling
Nicolas M. Thiery wrote: On Thu, Mar 18, 2010 at 06:54:10AM -0700, Anne Schilling wrote: However, I currently get several errors in the test in /combinat/crysals/tensor_product of the type with or without the patch ...sage/combinat/crystals anne$ sage -t tensor_product.py sage -t "4.3.3/devel

Re: [sage-combinat-devel] bug in to_tableau method of CrystalOfTableaux

2010-03-18 Thread Nicolas M. Thiery
On Thu, Mar 18, 2010 at 06:54:10AM -0700, Anne Schilling wrote: > However, I currently get several errors in the test in > /combinat/crysals/tensor_product > of the type with or without the patch > > ...sage/combinat/crystals anne$ sage -t tensor_product.py > sage -t "4.3.3/devel/sage-combinat/s