mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Revert StlIterators edit from "Fix undefined behavior..."
This commit is contained in:
parent
fd2fd48703
commit
13a1f25da9
@ -198,7 +198,6 @@ public:
|
||||
pointer_based_stl_iterator() EIGEN_NO_THROW : m_ptr(0) {}
|
||||
pointer_based_stl_iterator(XprType& xpr, Index index) EIGEN_NO_THROW : m_incr(xpr.innerStride())
|
||||
{
|
||||
eigen_assert(xpr.data() != nullptr || index == 0 || m_incr.value() == 0);
|
||||
m_ptr = xpr.data() + index * m_incr.value();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user