Skip to content

Commit

Permalink
Guard Eigen AccelerateSupport for apple only.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Aug 3, 2024
1 parent 966c1c8 commit 336d9a6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef EIGEN_ACCELERATESUPPORT_H
#define EIGEN_ACCELERATESUPPORT_H

#if defined(__APPLE__)

#include <Accelerate/Accelerate.h>

#include <Eigen/Sparse>
Expand Down Expand Up @@ -418,4 +420,6 @@ void AccelerateImpl<MatrixType_, UpLo_, Solver_, EnforceSquare_>::_solve_impl(co

} // end namespace Eigen

#endif // defined(__APPLE__)

#endif // EIGEN_ACCELERATESUPPORT_H

0 comments on commit 336d9a6

Please sign in to comment.