[Scilab-users] "unique" bug with complex ?

philippe rouxph.22 at gmail.com
Thu Sep 28 23:30:49 CEST 2017


Hi,

the following behaviour of "unique" function (with scilab 5.5.2  and
6.0.0) looks like a bug to me :

8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--

unique ([1 -1 1 -1])
 ans  =

  - 1.    1.

-->unique ([1 -1 1 -1]*%i)
 ans  =

  - i      i    - i      i


-->unique (string([1 -1 1 -1]*%i))
 ans  =

!%i  -%i  !

8<--8<--8<--8<--8<--8<--8<--8<--8<--8<--

I don't found bug report on bugzilla, so I should probably report it
except if i misunderstood the synopsis of the function ...

Can some one confirm the bug?


Philippe




More information about the users mailing list