On 8 January 2015 at 01:29, Lubomir I. Ivanov <[email protected]> wrote:
> // populate the LUT
> for (int i = 0; i < count; i++) {
>    ...
>    // *
>    ...
>    int idx = pI.sec / count;
>    lut[idx][0] = mean;
>    lut[idx][1] = x;
>    lut[idx][2] = y;
> }
>

*cough*

that's quite broken as idx should be continues while the 'time' value
to be extracted is based on 'count'.
but i hope you get the idea...

<hides in shame>

lubomir
--
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to