diff options
author | vkalintiris <vasilis@netdata.cloud> | 2024-05-16 12:54:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 12:54:25 +0300 |
commit | cef988ef2ea8068558b6fb7d6e195f49518eac56 (patch) | |
tree | 80ca1b105bb1d273bb19802d9891ed552b5e8803 /src | |
parent | 9e236258a5792f967546082234c1d7f6825c8325 (diff) |
Fix CentOS 7 builds for ML. (#17667)
Diffstat (limited to 'src')
-rw-r--r-- | src/ml/ml-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ml/ml-private.h b/src/ml/ml-private.h index 646a5cb17d..cfa6419efa 100644 --- a/src/ml/ml-private.h +++ b/src/ml/ml-private.h @@ -4,6 +4,11 @@ #define NETDATA_ML_PRIVATE_H #include "dlib/dlib/matrix.h" + +// CentOS 7 shenanigans +#include <cmath> +using std::isfinite; + #include "ml/ml.h" #include <vector> |