Hi!

Is this me or a bug?

----------------------------------------------------------------------
| Sage Version 4.6.2, Release Date: 2011-02-25                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: g=Tableau([[1,2,6,7,8,9],[3,4,5]])
sage: t=copy(g)
sage: t[0][2:5]=copy(g[1][0:3])
sage: t.pp()
  1  2  3  4  5  9
  3  4  5
sage: g.pp()
  1  2  3  4  5  9
  3  4  5

I first tried doing this without the copy() statements. Then I put
them in thinking that this would fix it. Nothing that I try stops
changes to t from overwriting g. Any ideas?

Probably the rewrite of the tableaux classes will fix this but for
some reason my patch queue is empty at the moment so I can't test
this...

Cheers,
Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
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