From 739722ebea4f44e25c51526311c7c248208b5702 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Tue, 5 May 2009 22:00:54 +0000 Subject: bug fixes for pd 0.42-5 svn path=/trunk/; revision=11236 --- pd/src/d_math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pd/src/d_math.c') diff --git a/pd/src/d_math.c b/pd/src/d_math.c index 738f2d6c..31c6c655 100644 --- a/pd/src/d_math.c +++ b/pd/src/d_math.c @@ -627,7 +627,7 @@ t_int *exp_tilde_perform(t_int *w) t_sample *out = (t_sample *)(w[2]); int n = (int)(w[3]); while (n--) - *out = exp(*in1); + *out++ = exp(*in1++); return (w+4); } @@ -720,7 +720,7 @@ t_int *abs_tilde_perform(t_int *w) while (n--) { float f = *in1++; - *out = (f >= 0 ? f : -f); + *out++ = (f >= 0 ? f : -f); } return (w+4); } -- cgit v1.2.1