[eigen] HouseholderQR bug?? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] HouseholderQR bug??
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Mon, 26 Apr 2010 13:28:19 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=UcSIM0ejHb0SpWKkbQppq7mHGegdLZncuXca4k+b1d0=; b=l0+h2acfzhMTEr10B0tEV+qxD3i5iljlNiaj2oD6UKncbKOZFoJ1XU1zNQ3eBwmlPJ /dirGjWNmwmp5Xn6YYAFYYV5MqtwC5gr3LYRgV4S456JK3zr/UnjaAnwmLre0bUDw4cY rdBoxMa6Zt/KAXQbSX+VqzoWxtIqU31A3S+5w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TEegYd1gGdmICPH0Z9yWr0xGdj3pAwV0YSuQlEZ+Cr14ZLDyFludtZsbRMbq5Mhb54 zvKEfDBJRp0hphgumtCy+tYaAh7nnbkw6vG9BV5U7kEIfAi6JmFcWRxECLDmekPcjp+K fGTQvBBsJohGPOfGWrXgYnNWUsHSYwvA2etk8=
Hi,
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
&m_temp.coeffRef(k+1)
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>
tmp(workspace,cols());
- Hauke