[Numpy-discussion] member1d and unique elements
Wed Aug 6 06:45:34 CDT 2008
Greg Novak wrote:
> Argh. I could swear that yesterday I typed test cases just like the
> one you provide, and it behaved correctly. Nevertheless, it clearly
> fails in spite of my memory, so attached is a version which I believe
> gives the correct behavior.
It looks ok now, although I did not check very carefully. Just make sure
that it works for empty input arrays (all combinations). I would also
set the default to handle_dupes to False to preserve previous functionality.
I suggest you refresh your numpy repository from SVN - now np. prefix is
used instead of nm. within the module.
More information about the Numpy-discussion