Skip to content

Commit f9792a4

Browse files
committed
don't include R_ext/Lapack.h if MKL is used
1 parent 2104c36 commit f9792a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fastLm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
// <http://www.gnu.org/licenses/>.
2222

2323
#include "fastLm.h"
24+
#if !defined(EIGEN_USE_MKL) // don't use R Lapack.h if MKL is enabled
2425
#include <R_ext/Lapack.h>
26+
#endif
2527

2628
namespace lmsol {
2729
using Rcpp::_;

0 commit comments

Comments
 (0)