mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-30 17:40:05 +08:00
Improved formatting
This commit is contained in:
parent
fd1dc3363e
commit
7cd33df4ce
@ -68,8 +68,7 @@ struct fixed_size_tensor_index_extraction_helper
|
||||
const Dimensions& dimensions)
|
||||
{
|
||||
const Index mult = (index == n-1) ? 1 : 0;
|
||||
return
|
||||
array_get<n-1>(dimensions) * mult +
|
||||
return array_get<n-1>(dimensions) * mult +
|
||||
fixed_size_tensor_index_extraction_helper<Index, n - 1>::run(index, dimensions);
|
||||
}
|
||||
};
|
||||
@ -97,7 +96,6 @@ struct Sizes {
|
||||
static const std::ptrdiff_t total_size = internal::arg_prod(Indices...);
|
||||
static const size_t count = Base::count;
|
||||
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE std::ptrdiff_t rank() const {
|
||||
return Base::count;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user