mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Avoided unnecessary type conversion
This commit is contained in:
@@ -33,7 +33,7 @@ namespace Eigen {
|
||||
namespace internal {
|
||||
|
||||
template<std::size_t n, typename Dimension> struct dget {
|
||||
static const std::size_t value = get<n, Dimension>::value;
|
||||
static const std::ptrdiff_t value = get<n, Dimension>::value;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user