If it's not too much trouble, could you verify that the source of
SkewTableau.is_standard is the following:

        t = self
        #Check to make sure that it is filled with 1...size
        w = self.to_word()
        w.sort()
        if w != range(1, self.size()+1):
            return False



        #Check to make sure it is increasing along the rows
        for row in t:
            for i in range(1, len(row)):
                if row[i] != None and row[i] <= row[i-1]:
                    return False


        #Check to make sure it is increasing along the columns
        conj = t.conjugate()
        for row in conj:
            for i in range(1, len(row)):
                if row[i] != None and row[i] <= row[i-1]:
                    return False

        return True

If it is, could you try going through and running that code "by hand"
to see where exactly it is returning False?

Thanks,
Mike

On 9/22/07, Jaap Spies <[EMAIL PROTECTED]> wrote:
>
> Mike Hansen wrote:
> > Hello Jaap,
> >
> > I'm having a hard time reproducing those doctest failures, and I was
> > wondering if you might help me out.   Do you still get the failures if
> > you run sage  -t on those files now?  How about if just type them into
> > the SAGE command line interface?
> >
> > Thanks,
> > Mike
> >
>
> Yes, same failures. What can I do more?
>
> Jaap
>
>
>
> The following tests failed:
>
>          sage -t  devel/sage-main/sage/combinat/skew_tableau.py
> Total time for all tests: 8.9 seconds
> [EMAIL PROTECTED] sage-2.8.5]$ ./sage -t  
> devel/sage-main/sage/combinat/ribbon.py
> sage -t  devel/sage-main/sage/combinat/ribbon.py            
> **********************************************************************
> File "ribbon.py", line 82:
>      sage: Ribbon([[2,3],[1,4,5]]).is_standard()
> Expected:
>      True
> Got:
>      False
> **********************************************************************
> 1 items had failures:
>     1 of   3 in __main__.example_5
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file .doctest_ribbon.py
>           [1.7 s]
> exit code: 256
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>
>          sage -t  devel/sage-main/sage/combinat/ribbon.py
> Total time for all tests: 1.7 seconds
> [EMAIL PROTECTED] sage-2.8.5]$ ./sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8.5, Release Date: 2007-09-21                       |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
>
> sage:  Ribbon([[2,3],[1,4,5]]).is_standard()
>   False
>
> sage:  SkewTableau([[None, 2], [1, 3]]).is_standard()
>   False
>
> sage:
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to