[SciPy-user] weave: ambiguous overload for ‘operator*’

Chris listservs@mac....
Fri Jun 20 18:51:25 CDT 2008


I have some pretty simple weave code that multiplies floats:

/* Calculate new Q-value */
qval_raw += alpha * delta * traceval_raw;

all 3 elements are floats -- I have checked this. Yet, I
get the following error:

ReinforcementLearning.py:461: error: ambiguous overload 
for ‘operator*’ in ‘alpha * delta’

I dont see anything ambiguous here -- any ideas?

Thanks,
cf




More information about the SciPy-user mailing list