mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-11 00:43:13 +08:00
fix unused warning
This commit is contained in:
parent
c5f1d0a72a
commit
2b2b4d0580
@ -55,7 +55,9 @@ public:
|
|||||||
operator int() const { return value; }
|
operator int() const { return value; }
|
||||||
FixedInt() {}
|
FixedInt() {}
|
||||||
FixedInt( VariableAndFixedInt<N> other) {
|
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);
|
eigen_internal_assert(int(other)==N);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user