repmat fails for sparse matrices
Reported by Gerrit C. Groenenboom
BUG DESCRIPTION:
----------------
The "repmat()" functions gives an error message for sparse matrices.
For example:
repmat(sparse(1), 1, 1)
gives error message:
ERROR LOG:
----------
at line 72 of function repmat ( /usr/local/scilab-6.1.1/share/scilab/modules/elementary_functions/macros/repmat.sci line 84 )
Undefined variable: Bsize
HOW TO REPRODUCE THE BUG:
-------------------------
repmat(sparse(1), 1, 1)
OTHER INFORMATION:
------------------
Replacing "Bsize" with "Bsizes" in repmat.sci seems to fix the problem.
I found this bug in Scilab 6.1.0 and in 6.1.1
In Scilab 6.0.1 there was no such problem.