[SciPy-user] weave: doesn't know about scalar type 'float32scalar'

Robert Kern robert.kern at gmail.com
Wed Aug 9 12:57:07 EDT 2006


Sebastian Haase wrote:
> Hi!
> I get this error 
>  File "../lib/python/scipy/weave/inline_tools.py", line 366, in 
> attempt_function_call
>     raise TypeError, msg
> TypeError: cannot convert value to double
> 
> and I think it's referring to this variable:
> (Pdb) p type(ssubSqSum)
> <type 'float32scalar'>
> 
> Should weave treat this  like a regular float !?

Sure! Patches are welcome.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco



More information about the SciPy-User mailing list