Re: [eigen] integer types - something's odd...

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


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



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