From 231d4a6fdae342af5f2a482104539eafe4fc5cdb Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 25 Jun 2013 10:08:50 +0200 Subject: [PATCH] Workarounf nvcc not being able to find RowMajor when declaring a Matrix<...> inside another namespace. --- Eigen/src/Core/util/ForwardDeclarations.h | 16 ++++++++-------- Eigen/src/Core/util/Macros.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index d6a814586..024a9ddc7 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -57,12 +57,12 @@ template class Array; diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 64348cd16..90fee79c5 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -87,9 +87,9 @@ #endif #ifdef EIGEN_DEFAULT_TO_ROW_MAJOR -#define EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION RowMajor +#define EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION Eigen::RowMajor #else -#define EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION ColMajor +#define EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION Eigen::ColMajor #endif #ifndef EIGEN_DEFAULT_DENSE_INDEX_TYPE