Re: [eigen] Enabled move support for Matrix and Array

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


Hi Hauke,

as far as I know, there is no std::imag specialization for Eigen matrices.

gael

On Wed, May 11, 2011 at 4:55 PM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> On Wed, May 11, 2011 at 4:34 PM, Hauke Heibel
> <hauke.heibel@xxxxxxxxxxxxxx> wrote:
>>> Why bother with C++0x support with GCC 4.3? Just require a newer GCC
>>> version for C++0x support.
>>
>> I just want to be sure that it's not me. :)
>>
>> It's this line which is killing me (from array.cpp in array_real(...))
>>
>>  VERIFY_IS_APPROX(internal::abs2(std::real(m1)) +
>> internal::abs2(std::imag(m1)), internal::abs2(m1));
>
> Replacing std::imag by internal::imag fixes the issue. I probably have
> to look at the specialization but I am unable to find it.
>
> I might take another look tomorrow but I have to leave now.
>
> - Hauke
>
>
>



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