aboutsummaryrefslogtreecommitdiff
path: root/modules/fdn.c
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-09-12 22:26:57 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-09-12 22:26:57 +0000
commit494a07a361fe4ee0e54f77468a976b1a77818770 (patch)
treeb784b32b2a29e379c6ae5947cdcdcdaadde72b5e /modules/fdn.c
parent9f8757ccf742d984bd1c1a5d1e5906e9fd50784e (diff)
creb 0.9.0
svn path=/trunk/externals/creb/; revision=956
Diffstat (limited to 'modules/fdn.c')
-rw-r--r--modules/fdn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fdn.c b/modules/fdn.c
index 22fcc40..9fbfee7 100644
--- a/modules/fdn.c
+++ b/modules/fdn.c
@@ -311,11 +311,11 @@ static void fdn_updatedamping(t_fdn *x)
}
static void fdn_timelow(t_fdn *x, t_float f){
- x->x_ctl.c_timelow = f;
+ x->x_ctl.c_timelow = fabs(f);
fdn_updatedamping(x);
}
static void fdn_timehigh(t_fdn *x, t_float f){
- x->x_ctl.c_timehigh = f;
+ x->x_ctl.c_timehigh = fabs(f);
fdn_updatedamping(x);
}