Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Conversion back from mathematica is a little dodgy at the moment. I would recommend applying the patch at #8495 if you want to call .sage() on different types of mathematica objects - otherwise just look at Mathematica's output directly (i.e. drop the .sage()) and retype the output.

However, in this case it doesn't seem to be anything to do with the conversion from Mathematica to Sage - Sage chooses this root even if you enter things directly:

sage: (-1)^(2/3)
1