From ae6b5d89ea93b95c2990895077cf5e8f0bba9ad9 Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 2 Feb 2004 11:28:02 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r1301, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=1302 --- pd/src/d_osc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pd/src/d_osc.c') diff --git a/pd/src/d_osc.c b/pd/src/d_osc.c index a7990fc6..8fe7f29b 100644 --- a/pd/src/d_osc.c +++ b/pd/src/d_osc.c @@ -448,6 +448,10 @@ static t_int *sigvcf_perform(t_int *w) + coefr * re2 - coefi * im; *out2++ = im = coefi * re2 + coefr * im; } + if (PD_BADFLOAT(re)) + re = 0; + if (PD_BADFLOAT(im)) + im = 0; c->c_re = re; c->c_im = im; return (w+7); -- cgit v1.2.1