mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix warnings related to variable_if_dynamic.
libeigen/eigen!2107 Closes #2807
This commit is contained in:
committed by
Charles Schlosser
parent
9a37aca9fc
commit
918a5f1a6f
@@ -153,7 +153,6 @@ struct promote_index_type {
|
||||
template <typename T, int Value>
|
||||
class variable_if_dynamic {
|
||||
public:
|
||||
EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(variable_if_dynamic)
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE explicit variable_if_dynamic(T v) {
|
||||
EIGEN_ONLY_USED_FOR_DEBUG(v);
|
||||
eigen_assert(v == T(Value));
|
||||
|
||||
Reference in New Issue
Block a user