Re: [eigen] Floating point as index type

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


It is not a bug and such code should not compile. If you want to an index, cast to an integer type.

On Mon, Nov 25, 2019 at 10:57 AM Janos Meny <janos.meny@xxxxxxxxxxxxxx> wrote:
Hey everyone,

I noticed that in the development branch the following code will no longer compile: https://godbolt.org/z/pHPX2j

Aside from the fact that I think this is a bug, this would break a lot of code I think.

Best regards

Janos


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