Skip to content

Instantly share code, notes, and snippets.

@MikeZLin
Created March 2, 2019 19:15
Show Gist options
  • Select an option

  • Save MikeZLin/30db3094bb9b236db8a957cd97c80795 to your computer and use it in GitHub Desktop.

Select an option

Save MikeZLin/30db3094bb9b236db8a957cd97c80795 to your computer and use it in GitHub Desktop.

Revisions

  1. MikeZLin created this gist Mar 2, 2019.
    26 changes: 26 additions & 0 deletions lda_patch.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    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 {