[SciPy-user] Prob with romberg integration?

Neal Becker ndbecker2 at gmail.com
Thu Oct 12 19:25:46 CDT 2006

A. M. Archibald wrote:

> On 12/10/06, Neal Becker <ndbecker2 at gmail.com> wrote:
>> AttributeError: 'float' object has no attribute 'dtype'
> Looks like things are not getting converted to Numeric data types. A
> bug, but easy to work around; just wrap the arguments in array()
> calls.

If I print out the value of 'x' in quadrature.py/vectororize1 (the arg to
vfunc), it seems that the first 2 times 'x' is a simple scalar, but the 3rd
time it is a list with 1 element, and that triggers the error.

Something's wrong here. 

More information about the SciPy-user mailing list