Re: [eigen] integer types - something's odd... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] integer types - something's odd...
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Tue, 8 Jun 2010 13:51:16 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=rarzWIOgbjFwJKAExQYet4aq6HMz+/a6vbn2cPEmtUc=; b=hzGnTkfujkPysxhKCxbHKZi+uUPzJlvO3xW2Mu5eW1IudzYcSbd5fE5qkDNS80s6ER 7ZGjpAa6hJSYuYWxaqOinkYMd4LektBtNw8wKhMG3CkdtDn4dJNvUWX67MdZ2CiUwhT7 b1rNUsNPpnBiirW7eNzDsxeAH9mP943XZmHJs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=mPkC15ZuNoj/YS8XCLfTZ0o7ROzr8yl2snq28ZU1xwrGf9Z6Ts5B8KqiCScvSZshLv Fgxjg1vR7LpGRnWueUdKs0odtBiD6RVp665vDQtZWGKXGxQEadF/uc9Z1uK13fAu6UHp 97dLPqRpfcmPG4ySOoav3knp7pDYo5TaYKSYU=
On Tue, Jun 8, 2010 at 1:30 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> 2010/6/8 Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>:
>> Also, changing lines 370-371 in the main.cpp to
>>
>> template<typename T, typename U>
>> bool test_is_equal(const T& actual, const U& expected)
>>
>> solves the issue and I think that is the real fix. Passing aligned
>> types by value destroys the alignment.
>
> ooooh.... sorry! of course it does, we even have a dox page about exactly that!
We all agree on that, I am just still not fully understanding what is
actually happening. In particular considering the comments of Gael.
Anyways, I committed it for now.
- Hauke