aboutsummaryrefslogtreecommitdiff
path: root/sc4pd/source/ExpRand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sc4pd/source/ExpRand.cpp')
-rw-r--r--sc4pd/source/ExpRand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc4pd/source/ExpRand.cpp b/sc4pd/source/ExpRand.cpp
index e0718c8..3b17aef 100644
--- a/sc4pd/source/ExpRand.cpp
+++ b/sc4pd/source/ExpRand.cpp
@@ -97,7 +97,7 @@ ExpRand_ar::ExpRand_ar(int argc, t_atom *argv)
void ExpRand_ar::m_dsp(int n, t_sample *const *in, t_sample *const *out)
{
float ratio = hi / lo;
- m_sample = pow(ratio,rgen.frand()) * lo);
+ m_sample = pow(ratio,rgen.frand()) * lo;
}