lineseg last element always zero

From: Niels Gorisse (niels@bonneville.nl)
Date: Wed May 09 2001 - 11:37:25 EDT


Hi,

While making some envelopes in CPS, I noticed that the lineseg table
generator always has a zero as the last element (or to be preciseously:
undefined). Looking at the code, I see that this is true. When importing
the saol-tables.h a year ago into CPS 1.0 I also noticed this (looking in
my old buglist) but I thought I fixed all these last-element-bugs.

For completeness: at the end of the lineseg generator I added this in total:

'
        // Niels added:
        set_table_value(t,lastxval,lastyval); // may 2001
        for (lastxval++;lastxval<t->size;lastxval++)
set_table_value(t,lastxval,0); // dec 1999
'

Anyway, I want to be sure I'm not wrong. Can somebody acknoledge this bug?

Thanks,

Niels Gorisse
Bonneville



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:11:07 EST