mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-07 21:39:04 +08:00
Fixed a compilation warning
This commit is contained in:
parent
7f1c29fb0c
commit
c587293e48
@ -214,7 +214,7 @@ template <std::size_t V1=0, std::size_t V2=0, std::size_t V3=0, std::size_t V4=0
|
|||||||
return internal::get<4, Base>::value;
|
return internal::get<4, Base>::value;
|
||||||
default:
|
default:
|
||||||
eigen_assert(false && "index overflow");
|
eigen_assert(false && "index overflow");
|
||||||
return static_cast<std::size_t>(-1);
|
return static_cast<DenseIndex>(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user