On Wed, May 12, 2010 at 12:27:53AM -0700, Anne Schilling wrote:
> Currently in the queue the tests for the patch
> trac_8954-nilTemperley-as.patch
> pass. However, if I move it up to the review section, I get the following
> failure:
>
>
> sage -t "4.4/devel/sage-combinat/sage/algebras/affine_nil_temperley_lieb.py"
> **********************************************************************
> File
> "/Applications/sage-4.4/devel/sage-combinat/sage/algebras/affine_nil_temperley_lieb.py",
> line 42:
> sage: A.an_element()
> Expected:
> 3*a0 + 3*a0*a1 + 1
> Got:
> a0
> **********************************************************************
> 1 items had failures:
> 1 of 7 in __main__.example_1
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file
> /Users/anne/.sage//tmp/.doctest_affine_nil_temperley_lieb.py
> [5.9 s]
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>
> sage -t
> "4.4/devel/sage-combinat/sage/algebras/affine_nil_temperley_lieb.py"
> Total time for all tests: 5.9 seconds
>
>
> Which patch in the queue does this depend on? How is an_element determined,
> if _an_element is not set in the
> class? Should this be implemented?
Ah, fun :-)
Actually, this does not come from an_element, but from affine Weyl
groups. In categories-root_system-6588.patch, I had added an iterator
method to it, not expecting to be actually useful that soon! If
available, an_element uses an iterator on the basis indices to create
an interesting element.
I guess for the moment you can just leave a note:
sage: A.an_element() # todo: not implemented (see #6588)
3*a0 + 3*a0*a1 + 1
sage: A.an_element()
a0
Cheers,
Nicolas
--
Nicolas M. ThiƩry "Isil" <[email protected]>
http://Nicolas.Thiery.name/
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-combinat-devel?hl=en.