Skip to content

Commit

Permalink
Do not include Eigen implicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwolaeth committed May 31, 2023
1 parent 53462c4 commit 93de721
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion inst/include/LBFGSB.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define LBFGSPP_LBFGSB_H

#include <vector>
#include <Eigen/Core>
// #include <Eigen/Core>
#include <Rcpp.h>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/BFGSMat.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
#define LBFGSPP_BFGS_MAT_H

#include <vector>
#include <Eigen/Core>
// #include <Eigen/Core>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
#include "BKLDLT.h"

/// \cond
Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/BKLDLT.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

#include <vector>
#include <Rcpp.h>
#include <Eigen/Core>
// #include <Eigen/Core>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]

/// \cond

Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/Cauchy.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
#define LBFGSPP_CAUCHY_H

#include <vector>
#include <Eigen/Core>
// #include <Eigen/Core>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
#include "BFGSMat.h"

/// \cond
Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/LineSearchMoreThuente.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#ifndef LBFGSPP_LINE_SEARCH_MORE_THUENTE_H
#define LBFGSPP_LINE_SEARCH_MORE_THUENTE_H

#include <Eigen/Core>
// #include <Eigen/Core>
#include <Rcpp.h>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
#include "LBFGSpp/Param.h"

namespace LBFGSpp {
Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/Param.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#ifndef LBFGSPP_PARAM_H
#define LBFGSPP_PARAM_H

#include <Eigen/Core>
// #include <Eigen/Core>
#include <Rcpp.h>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]

namespace LBFGSpp {

Expand Down
4 changes: 3 additions & 1 deletion inst/include/LBFGSpp/SubspaceMin.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

#include <stdexcept>
#include <vector>
#include <Eigen/Core>
// #include <Eigen/Core>
#include <RcppEigen.h>
// [[Rcpp::depends(RcppEigen)]]
#include "BFGSMat.h"

/// \cond
Expand Down

0 comments on commit 93de721

Please sign in to comment.