1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Fixed a conversion warning in LogSmoothedValue::skip()

This commit is contained in:
ed 2019-02-18 12:36:03 +00:00
parent ecb87a14b0
commit 0cf4b0f80c

View file

@ -407,7 +407,7 @@ public:
this->countdown -= numSamples;
auto rN = std::pow (r, numSamples);
auto rN = (FloatType) std::pow (r, numSamples);
temp *= rN;
temp += d * (rN - (FloatType) 1) / (r - (FloatType) 1);