[NumPy-Tickets] [NumPy] #1579: incorrect check + docstring for tri[ul]_indices_from

NumPy Trac numpy-tickets@scipy....
Tue Aug 10 09:48:30 CDT 2010


#1579: incorrect check + docstring for tri[ul]_indices_from
------------------------+---------------------------------------------------
 Reporter:  yarikoptic  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  2.0.0   
Component:  numpy.lib   |     Version:  devel   
 Keywords:              |  
------------------------+---------------------------------------------------
 incorrect check:
 {{{
 if not arr.ndim==2 and arr.shape[0] == arr.shape[1]:
 }}}
 should be
 {{{
 if not (arr.ndim==2 and arr.shape[0] == arr.shape[1]):
 }}}

 incorrect docstring:
 signature is {{{arr,k=0}} while docstring describes n and k (as in
 tri?_indices functions)

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1579>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list