Mike Hansen wrote: > 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 > > >
The next part of the code returns FALSE in both cases: > #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? > Checked with: >> >> sage: Ribbon([[2,3],[1,4,5]]).is_standard() >> False >> >> sage: SkewTableau([[None, 2], [1, 3]]).is_standard() >> False >> I hope this helps, Jaap --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---