aboutsummaryrefslogtreecommitdiff
path: root/iemlib1/src/peakenv~.c
diff options
context:
space:
mode:
Diffstat (limited to 'iemlib1/src/peakenv~.c')
-rw-r--r--iemlib1/src/peakenv~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iemlib1/src/peakenv~.c b/iemlib1/src/peakenv~.c
index 9e25e2c..174624c 100644
--- a/iemlib1/src/peakenv~.c
+++ b/iemlib1/src/peakenv~.c
@@ -49,7 +49,7 @@ static t_int *peakenv_tilde_perform(t_int *w)
for(i=0; i<n; i++)
{
- absolute = (double)abs((double)(*in++));
+ absolute = (double)fabs(*in++);
peak *= c1;
if(absolute > peak)
peak = absolute;