[eigen] HouseholderQR bug??

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I am trying to trace down the std::vector issue and stumbled over the following.

In HouseholderQR line 220, applyHouseholderOnTheLeft(...) is called
with this raw pointer


which is mapped as

Map<typename ei_plain_row_type<PlainObject>::type> tmp(workspace,cols());

and results in unaligned data because even if m_temp is aligned,
m_temp.getData()+1 is not necessarily.

How do we fix this? This does not help - I always thought it were
affecting the Flags property

Map<typename ei_plain_row_type<PlainObject>::type, Unaligned>

- Hauke

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/