[Liboil] bug in oil_sum_f64() ?

David Schleef ds at schleef.org
Mon Jan 22 15:55:59 PST 2007


On Sat, Jan 20, 2007 at 05:27:31PM +0000, John Cupitt wrote:
>  double test[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };

>  oil_sum_f64 (&sum, test, 1, 10);

> Have I misread the docs?

Yes.  The stride in the above case is sizeof(double).



dave...




More information about the Liboil mailing list