delete shadowed typedefs

This commit is contained in:
Charles Schlosser
2024-02-28 02:40:45 +00:00
committed by Rasmus Munk Larsen
parent a962a27594
commit b334910700
4 changed files with 2 additions and 10 deletions

View File

@@ -229,7 +229,7 @@ struct get_compile_time_incr<ArithmeticSequence<FirstType, SizeType, IncrType> >
template <typename FirstType, typename SizeType, typename IncrType>
constexpr Index get_runtime_incr(const ArithmeticSequence<FirstType, SizeType, IncrType>& x) EIGEN_NOEXCEPT {
return static_cast<Index>(x.incrObject());
};
}
} // end namespace internal

View File

@@ -70,7 +70,7 @@ struct get_compile_time_incr {
template <typename T>
constexpr Index get_runtime_incr(const T&) EIGEN_NOEXCEPT {
return Index(1);
};
}
// Analogue of std::get<0>(x), but tailored for our needs.
template <typename T>