Created
March 2, 2019 19:15
-
-
Save MikeZLin/30db3094bb9b236db8a957cd97c80795 to your computer and use it in GitHub Desktop.
patch LDA for CPP11 Compile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/include/ldaplusplus/events/Events.hpp b/include/ldaplusplus/events/Events.hpp | |
| index bcaa96b..7126964 100644 | |
| --- a/include/ldaplusplus/events/Events.hpp | |
| +++ b/include/ldaplusplus/events/Events.hpp | |
| @@ -7,7 +7,7 @@ | |
| #include <mutex> | |
| #include <thread> | |
| #include <unordered_set> | |
| - | |
| +#include <functional> | |
| namespace ldaplusplus { | |
| namespace events { | |
| diff --git a/include/ldaplusplus/optimization/SecondOrderLogisticRegressionApproximation.hpp b/include/ldaplusplus/optimization/SecondOrderLogisticRegressionApproximation.hpp | |
| index 97a8958..1d5547a 100644 | |
| --- a/include/ldaplusplus/optimization/SecondOrderLogisticRegressionApproximation.hpp | |
| +++ b/include/ldaplusplus/optimization/SecondOrderLogisticRegressionApproximation.hpp | |
| @@ -2,7 +2,7 @@ | |
| #define _LDAPLUSPLUS_OPTIMIZATION_SECOND_ORDER_LOGISTIC_REGRESSION_APPROXIMATION_HPP_ | |
| #include <cmath> | |
| - | |
| +#include <vector> | |
| #include <Eigen/Core> | |
| namespace ldaplusplus { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment