[Scipy-tickets] [SciPy] #995: All scipy.constants.constants functions "choke" on non-array sequence input

SciPy Trac scipy-tickets@scipy....
Sat Jun 26 18:03:51 CDT 2010


#995: All scipy.constants.constants functions "choke" on non-array sequence input
-------------------------------------------------------------------+--------
 Reporter:  dgoldsmith                                             |       Owner:  somebody    
     Type:  defect                                                 |      Status:  needs_review
 Priority:  normal                                                 |   Milestone:  0.8.0       
Component:  Other                                                  |     Version:  0.7.0       
 Keywords:  temperature conversion lambda2nu nu2lambda array-like  |  
-------------------------------------------------------------------+--------
Changes (by vincentdavis):

  * status:  new => needs_review


Comment:

 Applied np.asanyarray() to input values, this should solve the problem.

 Updated file avalible here
 http://github.com/vincentdavis/SciPy-vmd-
 dev/blob/master/scipy/constants/constants.py
 or attached

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/995#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list