fix unused warning

This commit is contained in:
Gael Guennebaud 2018-10-03 14:16:21 +02:00
parent c5f1d0a72a
commit 2b2b4d0580

View File

@ -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);
}