Re: [eigen] regression for operator != on matrix/array ?

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


Hi, thanks for spotting that, and for the unit tests.

Actually, looking at MatrixBase::operator!= would have save you time
as the problem and respective fix was really obvious...

gael.

On Mon, Jan 18, 2010 at 12:02 AM, Thomas Capricelli
<orzel@xxxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> Following the failure on some tests on my own projects, I've traced down the problem to operator!= for MatrixXd. My understanding is that operator== is ok, but operator!= gives 'true' even for different matrices.
>
> I added some unit tests (commit cc713769fdaa). Those tests currently fail, but I have tested them with revision 5875fb08124a and there they pass.
>
> Gael, 5875fb08124a is the last revision before your big 'array' merge. I guess something is your new implementation, but I can't find/fix it myself... maybe you have a clue ?
>
> regards,
> --
> Thomas Capricelli <orzel@xxxxxxxxxxxxxxx>
> http://www.freehackers.org/thomas
>
>
>



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