Implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' when using Clang in Block.h
Submitted by sha..@..il.com
Assigned to Nobody
Link to original bugzilla bug (#397)
Platform: x86 - 64-bit
When using Eigen on Mac OS X in Xcode with default build settings, Clang gives the following warning for Block.h for row 340 and 341:
Implicit conversion loses integer precision: 'Index' (aka 'long') to 'int'
The obvious solution is to change m_outerStride to be of type Index, just as the return type of m_xpr.outerStride() and m_xpr.innerStride().