Skip to content

Indexed view should have RowMajorBit when there is staticly a single row

Christopher Moore requested to merge crmoore/eigen:indexed-view-row-major into master

This line failed to compile, asserting when trying to instantiate an Array type with RowsAtCompileTime==1 but without RowMajorBit.

A(1, seq(0,2,1)).cwiseAbs().colwise().replicate(2).eval();

I tracked it down to IndexedView not setting RowMajorBit when there is statically a single row in the expression result.

Merge request reports