[Scipy-tickets] [SciPy] #1470: ERROR: gaussian gradient magnitude filter 1

SciPy Trac scipy-tickets@scipy....
Sat Jul 2 05:33:28 CDT 2011


#1470: ERROR: gaussian gradient magnitude filter 1
---------------------------+------------------------------------------------
 Reporter:  nils           |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  0.9.0      
 Keywords:                 |  
---------------------------+------------------------------------------------
 {{{
 >>> scipy.__version__
 '0.10.0.dev7179'
 >>> numpy.__version__
 '2.0.0.dev-5e4a407'
 }}}

 {{{
 ======================================================================
 ERROR: gaussian gradient magnitude filter 1
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/home/nwagner/local/lib64/python2.6/site-packages/nose-0.11.2.dev-
 py2.6.egg/nose/case.py", line 183, in runTest
     self.test(*self.arg)
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/ndimage/tests/test_ndimage.py", line 670, in
 test_gaussian_gradient_magnitude01
     1.0)
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/ndimage/filters.py", line 479, in
 gaussian_gradient_magnitude
     cval, extra_arguments = (sigma,))
   File "/home/nwagner/local/lib64/python2.6/site-
 packages/scipy/ndimage/filters.py", line 450, in
 generic_gradient_magnitude
     numpy.sqrt(output, output)
 TypeError: ufunc 'sqrt' output (typecode 'd') could not be coerced to
 provided output parameter (typecode 'i') according to the casting rule
 'same_kind'
 }}}

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


More information about the Scipy-tickets mailing list