Skip to content

Fix support for Eigen 5 while keep compatibility with Eigen 3 - #33

Open
traversaro wants to merge 2 commits into
Rhoban:masterfrom
traversaro:fixeigen5
Open

Fix support for Eigen 5 while keep compatibility with Eigen 3#33
traversaro wants to merge 2 commits into
Rhoban:masterfrom
traversaro:fixeigen5

Conversation

@traversaro

@traversaro traversaro commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

The main difference is that now Eigen::all is Eigen::placeholders::all.

@Gregwar

Gregwar commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Hello, and sorry for the big lag

It appear there are missing trailing #, as in:

if defined(EIGEN_VERSION_AT_LEAST) && EIGEN_VERSION_AT_LEAST(5, 0, 0)

Should be:

#if defined(EIGEN_VERSION_AT_LEAST) && EIGEN_VERSION_AT_LEAST(5, 0, 0)

@traversaro

Copy link
Copy Markdown
Contributor Author

Hello, and sorry for the big lag

It appear there are missing trailing #, as in:

if defined(EIGEN_VERSION_AT_LEAST) && EIGEN_VERSION_AT_LEAST(5, 0, 0)

Should be:

#if defined(EIGEN_VERSION_AT_LEAST) && EIGEN_VERSION_AT_LEAST(5, 0, 0)

Thanks, fixed in e549749 .

@Gregwar

Gregwar commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Look like there are two such problems (you only fixed one file)

@traversaro

Copy link
Copy Markdown
Contributor Author

Look like there are two such problems (you only fixed one file)

Sorry, in this case the slop was due to human editing, not AI!

@Gregwar

Gregwar commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

No problem, don't forget to push your fix and I'll check everything works 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants