[Numpy-tickets] [NumPy] #467: inconsistent mgrid results

NumPy numpy-tickets@scipy....
Wed Mar 14 15:26:25 CDT 2007


#467: inconsistent mgrid results
-----------------------+----------------------------------------------------
 Reporter:  acorrigan  |       Owner:  somebody
     Type:  defect     |      Status:  new     
 Priority:  normal     |   Milestone:          
Component:  numpy.lib  |     Version:  1.0.1   
 Severity:  normal     |    Keywords:  mgrid   
-----------------------+----------------------------------------------------
 >>> print mgrid[2.45:2.6:0.05, 0:5:1]
 [[[ 2.45  2.45  2.45  2.45  2.45]
  [ 2.5   2.5   2.5   2.5   2.5 ]]

 [[ 0.    1.    2.    3.    4.  ]
  [ 0.    1.    2.    3.    4.  ]]]

  >>> print mgrid[2.45:2.6:0.05]
 [ 2.45  2.5   2.55]


 I'm using 2.45:2.6:0.05 to specify the grid in the first dimension, but
 get different results in each case.

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


More information about the Numpy-tickets mailing list