diff options
author | Dmitry Popov | 2016-06-18 23:19:35 +0300 |
---|---|---|
committer | Dmitry Popov | 2016-06-18 23:19:38 +0300 |
commit | 9d16efdcbe3132a549a9240eebe120adecf7776c (patch) | |
tree | 4f41bdd8df224085d89d650f7db8297fd4c98cc5 /xgboost_fix_missing_include.patch | |
parent | 576c0df7e7d7d3209fccc59185d40989c8f1b77f (diff) | |
download | aur-9d16efdcbe3132a549a9240eebe120adecf7776c.tar.gz |
xgboost had missing include, fixed
See https://github.com/dmlc/xgboost/issues/1268 for more info
This fix will be removed when upstream solves it
Diffstat (limited to 'xgboost_fix_missing_include.patch')
-rw-r--r-- | xgboost_fix_missing_include.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xgboost_fix_missing_include.patch b/xgboost_fix_missing_include.patch new file mode 100644 index 000000000000..a10776888adc --- /dev/null +++ b/xgboost_fix_missing_include.patch @@ -0,0 +1,12 @@ +diff --git a/src/tree/param.h b/src/tree/param.h +index e9de3ac..23d0c5b 100644 +--- a/src/tree/param.h ++++ b/src/tree/param.h +@@ -9,6 +9,7 @@ + + #include <vector> + #include <cstring> ++#include <cmath> + + namespace xgboost { + namespace tree { |