r = sprand(100,100,0.001); r.^2 => CRASH (regression wrt 5.5.2)
Reported by Samuel GOUGEON (@sgougeon)
Originally assigned to Paul BIGNIER
BUG DESCRIPTION:
----------------
".^" applied to a sparse matrix crashes Scilab
ERROR LOG:
----------
none
HOW TO REPRODUCE THE BUG:
-------------------------
r = sprand(100,100,0.001);
r.^2
OTHER INFORMATION:
------------------
100% reproducible
unit tests of real() and imag() are partly commented to pass despite this bug.
=> Please update these tests (uncomment) after fixing this bug