On Jan 18, 2:42 pm, Sébastien Labbé <sla...@gmail.com> wrote:
> Hi,
>
> On sage-4.7.2, the third line of the following shows two cubes + one
> sphere in jmol :
>
> sage: a = cube((1,0,0), color='red') + cube((0,0,3), color='green')
> sage: b = a + sphere((0,0,0), color='yellow')
> sage: a
>
> I was expecting only two cubes, but the addition changed a. Is this a
> normal behavior (I guess no copy has to be made that way) or is this a
> bug?

Even in Sage 4.4.4 we get this.

sage: len(a.all)
3
sage: len(b.all)
3

I'm sorry I don't have time to look into this now :( as I am
interested in tracking it down.

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to