Skip to content

Commit

Permalink
Guarded eigen3 include
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Jul 16, 2012
1 parent 7b9ac25 commit 4f42e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/mathematics/Math.h
Expand Up @@ -36,8 +36,10 @@
#include <ieeefp.h>
#endif

#ifdef HAVE_EIGEN3
#define EIGEN_RUNTIME_NO_MALLOC
#include <eigen3/Eigen/Dense>
#endif

/// workaround for log2 being a define on cygwin
#ifdef log2
Expand Down

0 comments on commit 4f42e08

Please sign in to comment.