Open bradbell opened 6 months ago
Thanks for reporting this. At the moment, Eigen 3.4 is supported. Once they release a new version out of their master branch, that version should be supported.
The problem here is the following commit: https://gitlab.com/libeigen/eigen/-/commit/77833f932040b46e79b6fa6522594a6df27e8a76, where SingleRange
becomes a template of an Index link. It could be checked at link, if SingleRange
is a template and then the right thing can be inserted.
I don't have the time right now to provide a PR.
As a workaround it is maybe possible instead of checking out the master of Eigen, checking out the commit before the changes d26e19714fca2faf544619c3604f88d980e5a207
Any workaround for the SingleRange modifying the autodiff instead of Eigen?
If you install the current autodiff main branch and the current eigen master branch and try to run the tutorial example https://autodiff.github.io/tutorials/#gradient-vector-of-a-scalar-function
You get the following error:
The git hash for this version of the eigen master is e63d9f6ccb7f6f29f31241b87c542f3f0ab3112b
If you change from the current eigen master to the 3.4.0 release, the example works.