On Tue, 14 Dec 2004, Isidro CachadiƱa GutiƩrrez wrote:
Are you having a good time with that stuff you are smoking? Pay attention!
I'm sure that your stuff is better than mine. ;-) .
You betcha.
I have justs reread the patch and there are lines like ...
inline const cl_R operator* (const cl_F& x, const int y) { return x * cl_I(y); }
and should be..
inline const cl_F operator* (const cl_F& x, const int y) { return x * cl_I(y); }
Nope. Look at this function that's already been there before that patch: inline const cl_R operator* (const cl_F& x, const cl_I& y) { extern const cl_R cl_F_I_mul (const cl_F&, const cl_I&); return cl_F_I_mul(x,y); } I leave it as an exercise to find out why the return value is cl_R. (If you wish to cheat: just look up cl_F_I_mul(const cl_F&, const cl_I&).) Suerte -richy. -- Richard B. Kreckel <http://www.ginac.de/~kreckel/>