[Numpy-tickets] [NumPy] #410: setmember1d problem

NumPy numpy-tickets at scipy.net
Sun Jan 7 22:30:09 CST 2007


#410: setmember1d problem
------------------------+---------------------------------------------------
 Reporter:  curiousjan  |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:          
Component:  Other       |      Version:          
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by rkern):

 Actually, I think this is a bug in your code. According to the
 documentation of the {{{arraysetops}}} module:

 {{{
 Except unique1d, union1d and intersect1d_nu, all functions expect inputs
 with
 unique elements.
 }}}

 Can you try using {{{unique1d()}}} on your upperID and lowerID arrays
 before passing them through the other set functions?

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/410#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list