isvector(sparse([1 2])) returns %F (6.0 Regression)
@sgougeon)
Reported by Samuel GOUGEON (BUG DESCRIPTION:
----------------
isvector() fails for sparse arrays:
--> s = sparse([0 3])
s =
( 1, 2) sparse matrix
( 1, 2) 3.
--> size(s)
ans =
1. 2.
--> isvector(s)
ans =
F <<<<< WRONG : THE BUG
--> isvector(s')
ans =
F
ERROR LOG:
----------
None. Wrong answer.
HOW TO REPRODUCE THE BUG:
-------------------------
isvector(sparse([3 0]))
isvector(sparse([3 0]'))