Avoided unnecessary type conversion

This commit is contained in:
Benoit Steiner 2016-11-26 11:27:29 -08:00
parent 7fe704596a
commit 67b2c41f30

View File

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