aboutsummaryrefslogtreecommitdiff
path: root/modules/ramp~.c
diff options
context:
space:
mode:
authorKatja <katjav@users.sourceforge.net>2011-11-06 14:41:44 +0000
committerKatja <katjav@users.sourceforge.net>2011-11-06 14:41:44 +0000
commit4f1ee28d687d583601d41ff58e1618b381d2675f (patch)
treeeb9df33c9928ec11de287a1d70ec714c9a3b9f7c /modules/ramp~.c
parent4a05094c9a009707674c079c0481eaf8e1f8490f (diff)
made creb compliant with double precision
- changed float to t_float - adapted subnormal detection svn path=/trunk/externals/creb/; revision=15706
Diffstat (limited to 'modules/ramp~.c')
-rw-r--r--modules/ramp~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ramp~.c b/modules/ramp~.c
index e4d5ed4..fa87809 100644
--- a/modules/ramp~.c
+++ b/modules/ramp~.c
@@ -57,7 +57,7 @@ static t_int *ramp_perform(t_int *w)
t_int n = (t_int)(w[2]);
t_float x;
- t_float scale = ctl->c_blockscale ? 1.0f / (t_float)n : 1.0f;
+ t_float scale = ctl->c_blockscale ? 1.0 / (t_float)n : 1.0;
x = ctl->c_offset;