On 1/18/12 1:42 PM, Sébastien Labbé 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?

This is a bug reported and a patch posted a long time ago:

http://trac.sagemath.org/sage_trac/ticket/9089

It looks like I promised a new patch about 16 months ago in response to a failed doctest, so I guess the ball is in my court. I won't be able to attend to this right now, so if someone wants to fix the patch, please do so!

Thanks,

Jason

--
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