setdiff : serious regression
Reported by Alain Lamy
BUG DESCRIPTION:
----------------
When the size of the first argument is 1, setdiff returns an incorrect result if the second argument is [].
This is an serious regression. The consequence can be incorrect results in calculations.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
> setdiff(1, [])
ans =
[]
It should be 1 !