parametric_plot3d fails with floating-point parameter
The following code
u,v = var('u,v')
X = u * cos(v) - (1/3)* u^3 * cos(v*3)
Y = - u * sin(v) - (1/3) *u^3 * sin(3*v)
Z = u^2 *cos(2*v)
p = parametric_plot3d([X,Y,Z], (u,0,1),(v,0,2*pi),frame=False, color="blue")
works but with 0.9 in place of 1 in range of u produces an error. Namely,
Unhandled SIGILL: An illegal instruction occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Sage will now terminate.
Keeping all the code the same but changing the last line to: parametric_plot3d([X,Y,Z], (u,0,.9),(v,0,2*pi),frame=False, color="blue") and then running the code in a Sage Cell server results in working output. You should include details about the version of Sage that you're using.
I am using version 6.5 downloaded today (as this code, which used to run in 4.8, won't run in 4.8 under Mac OS 10.9)
It works for me too.
It works for me too, with Sage 6.5.
Which Mac OS are you guys running? Maybe it works with 10.10 but not with 10.9 ?