The right divisions / with real sparses are no longer implemented (Scilab 6.0.0 regression)
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Up to Scilab 5.5.2, it was possible to right-divide a numerical sparse matrix by another one.
It is no longer the case in Scilab 6.0.0 and still in Scilab 6.1.0:
--> sp1 = sprand(5,5,0.5);
--> sp2 = sprand(5,5,0.5);
--> p = sp1*sp2;
--> r1 = p / sp2;
Undefined operation for the given operands.
check or define function %sp_r_sp for overloading.
ERROR LOG:
----------
See above.
HOW TO REPRODUCE THE BUG:
-------------------------
sp1 = sprand(5,5,0.5);
sp2 = sprand(5,5,0.5);
p = sp1*sp2;
r1 = p / sp2;
norm(p - clean(r1)*sp2) < 5e-15
OTHER INFORMATION:
------------------