The following does not do what you hope, but does raise a semi-informative 
error:

CP = Posets.IntegerCompositions(5)
C = LatticePoset(CP)
C([1, 1, 1, 2])

  Traceback (click to the left of this block for traceback)
  ...
  TypeError: unhashable type: 'list'
  
The following accomplishes what you perhaps expected:

CP = Posets.IntegerCompositions(5)
C = LatticePoset(CP)
P = C.an_element().parent()
P([1, 1, 1, 2])

  [1, 1, 1, 2]

Am I missing something?  Or is this worth a ticket?

Thanks,
Rob

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to