summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-24 21:13:10 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-24 21:19:42 +0200
commit9e66731c8fbadf1b30e127161cdf052d179dff9b (patch)
tree62599b95b272b0740f9bb9f75ed4470934cb040d /src/engine
parent083a80494b052ba0c1f1d619cf5a72f449cd8468 (diff)
engine/filters/enginefiltermoogladder4: Add missing f to float literals
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/filters/enginefiltermoogladder4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/filters/enginefiltermoogladder4.h b/src/engine/filters/enginefiltermoogladder4.h
index 491534cebc..f1e6fd504b 100644
--- a/src/engine/filters/enginefiltermoogladder4.h
+++ b/src/engine/filters/enginefiltermoogladder4.h
@@ -27,8 +27,8 @@ namespace {
// defines the strange of the non linearity
// 1.2 = drives the transistor in full range, giving a maximum Waveshaper effect
// big values disables the non linearity
-const float kVt = 1.2;
-const float kPi = 3.14159265358979323846;
+constexpr float kVt = 1.2f;
+constexpr float kPi = 3.14159265358979323846f;
} // anonymous namespace