summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/powerlist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powerlist.cc b/src/powerlist.cc
index 67dae2f..a555051 100644
--- a/src/powerlist.cc
+++ b/src/powerlist.cc
@@ -232,7 +232,7 @@ Sample* PowerList::get(level_t level)
// Cut off mean value with stddev/2 in both ends in order to make room for
// downwards expansion on velocity 0 and upwards expansion on velocity 1.
float mean = level * (power_span - mean_stepwidth) + (mean_stepwidth / 2.0);
- float stddev = velocity_stddev * mean_stepwidth;
+ float stddev = settings.enable_velocity_modifier.load() ? velocity_stddev * mean_stepwidth : 0.;
float power{0.f};