summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2022-07-23 19:01:37 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2022-07-23 19:01:37 +0300
commit2131e23c0422bb4c05ddaba73eb692ad97217a53 (patch)
tree553e21e4eceb61e437dd32f951ccaf7e9e313f97
parent0e22384ca0b166328d0f87af75441ee49bbbee11 (diff)
Fix compilation issues.
-rw-r--r--src/fft.cpp1
-rw-r--r--src/value-map.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/fft.cpp b/src/fft.cpp
index f00dd4f..d5fa4c2 100644
--- a/src/fft.cpp
+++ b/src/fft.cpp
@@ -6,6 +6,7 @@
*/
#include "fft.hpp"
+#include <algorithm>
#include <cassert>
#include <cstring>
#include <cmath>
diff --git a/src/value-map.cpp b/src/value-map.cpp
index 51e3944..2e1138a 100644
--- a/src/value-map.cpp
+++ b/src/value-map.cpp
@@ -5,6 +5,7 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#include "value-map.hpp"
+#include <algorithm>
#include <cmath>
ValueMap::ValueMap(double lower, double upper, const std::string& unit) : lower_(lower), upper_(upper), unit_(unit)