There's been a change to the init function for the Iwahori Hecke Algebra 
that causes the NilCoxeterAlgebra to fail.  I _think_ this is happening in 
the affine_iwahori_hecke_algebras.patch; the nilcoxeter algebra is still 
working fine with combinat unapplied.  

There's an extra parameter (omega) in the IwahoriHecke Algebra now, and 
since the NilCoxeter is calling the __init__ function directly, it's 
apparently expected to provide a value for this new parameter.  I'm not 
terribly sure if it's better to change the IHA constructor to not expect 
the omega, or to change the Nilcoxeter to provide a value.

Any thoughts?

sage: W=WeylGroup(['A',5,1])
sage: NilCoxeterAlgebra(W)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/kaibutsu/<ipython console> in <module>()

/home/kaibutsu/sage-5.5/local/lib/python2.7/site-packages/sage/misc/classcall_metaclass.so
 
in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ 
(sage/misc/classcall_metaclass.c:991)()

/home/kaibutsu/sage-5.5/local/lib/python2.7/site-packages/sage/misc/cachefunc.so
 
in sage.misc.cachefunc.WeakCachedFunction.__call__ 
(sage/misc/cachefunc.c:5077)()

/home/kaibutsu/sage-5.5/local/lib/python2.7/site-packages/sage/structure/unique_representation.pyc
 
in __classcall__(cls, *args, **options)
    464             True
    465         """
--> 466         instance = typecall(cls, *args, **options)
    467         assert isinstance( instance, cls )
    468         if instance.__class__.__reduce__ == 
UniqueRepresentation.__reduce__:



/home/kaibutsu/sage-5.5/local/lib/python2.7/site-packages/sage/misc/classcall_metaclass.so
 
in sage.misc.classcall_metaclass.typecall 
(sage/misc/classcall_metaclass.c:1350)()

/home/kaibutsu/sage-5.5/local/lib/python2.7/site-packages/sage/algebras/nil_coxeter_algebra.pyc
 
in __init__(self, W, base_ring, prefix)
     63         self._base_ring = base_ring
     64         self._cartan_type = W.cartan_type()
---> 65         IwahoriHeckeAlgebraT.__init__(self, W, 0, 0, base_ring, 
prefix=prefix)
     66 
     67     def _repr_(self):

TypeError: __init__() takes exactly 7 arguments (6 given)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/qzJfyqJpvlkJ.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to