[Numpy-tickets] [NumPy] #496: ones and zeros return floats by default (not ints)

NumPy numpy-tickets@scipy....
Thu Apr 5 17:50:00 CDT 2007


#496: ones and zeros return floats by default (not ints)
-----------------------------+----------------------------------------------
 Reporter:  socha            |        Owner:  oliphant     
     Type:  defect           |       Status:  new          
 Priority:  normal           |    Milestone:  1.0.2 Release
Component:  Other            |      Version:  none         
 Severity:  normal           |   Resolution:               
 Keywords:  ones zeros book  |  
-----------------------------+----------------------------------------------
Changes (by rkern):

  * owner:  somebody => oliphant
  * keywords:  ones zeros => ones zeros book
  * component:  numpy.core => Other

Comment:

 This is an error in the manual. {{{ones()}}} and {{{zeros()}}} are
 supposed to return float64 arrays by default since 1.0.

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


More information about the Numpy-tickets mailing list