diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-10-03 14:16:21 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-10-03 14:16:21 +0200 |
commit | 2b2b4d0580dd9a46790b16909aec607b18dd7b9e (patch) | |
tree | 35519eba48dc3182fd547fc86c28624e550b22cf /Eigen/src/Core/util/IntegralConstant.h | |
parent | c5f1d0a72a1bcf7bd72db7c5d01078723ffc7554 (diff) |
fix unused warning
Diffstat (limited to 'Eigen/src/Core/util/IntegralConstant.h')
-rw-r--r-- | Eigen/src/Core/util/IntegralConstant.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h index bf99cd8ab..caeea232d 100644 --- a/Eigen/src/Core/util/IntegralConstant.h +++ b/Eigen/src/Core/util/IntegralConstant.h @@ -55,7 +55,9 @@ public: operator int() const { return value; } FixedInt() {} FixedInt( VariableAndFixedInt<N> other) { - EIGEN_ONLY_USED_FOR_DEBUG(other); + #ifndef EIGEN_INTERNAL_DEBUGGING + EIGEN_UNUSED_VARIABLE(other); + #endif eigen_internal_assert(int(other)==N); } |