mtlb_std called with only one argument returns an error
Reported by Serge STEER
BUG DESCRIPTION:
----------------
mtlb_std called with only one argument returns an error
ERROR LOG:
----------
at line 11 of function mtlb_std ( /home/steer/scilab-6.0.1/share/scilab/modules/compatibility_functions/macros/mtlb_std.sci line 24 )
Undefined variable: dim
HOW TO REPRODUCE THE BUG:
-------------------------
mtlb_std(rand(1:10))
OTHER INFORMATION:
------------------
To fix the bug replace
if rhs < 2 then
flag = 0;
elseif rhs < 3 then
dim = "*";
end
by
if rhs < 2 then
flag = 0;
end
if rhs < 3 then
dim = "*";
end