Hello,

I have a vector of a type named `Gate`

. I define `==`

for it and I checked that `isequal`

works as well.

I want to use the `unique`

function, but it doesn’t seem to work.

Here a screenshot that show the problem.

:

The length of the vector after using unique should be 2, but it is still 4 and I don’t understand since there are in fact only 2 unique elements.

Thank!