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

Sebastian Haase haase at msg.ucsf.edu
Tue Aug 8 19:40:56 CDT 2006


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 !?

Thanks,
Sebastian Haase


More information about the SciPy-user mailing list