Re: [eigen] Floating point as index type

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


Hi,

yes we are aware of that. We could explicitly accept float and double as "valid_index_type", but I think this would just keep silent some latent bugs. I've just added note there:  http://eigen.tuxfamily.org/index.php?title=3.4

Cheers,
gael

On Mon, Nov 25, 2019 at 7:57 PM 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/