-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails with Eigen matrices #131
Comments
@roger- Could you please share a minimal example to reproduce the issue? |
Sure:
|
@roger- I am unable to reproduce the issue. It might be specific to your arch/compiler/c++ std/eigen version. |
Looks like it fails with Eigen 3.4: https://godbolt.org/z/o8vYzGnWo |
Thank you for reporting this. The problem seems to be that we treat the Eigen matrix as a container via this piece of code: Lines 382 to 389 in 1aaa880
I guess that would need to be adapted in order to fix the Eigen matrix case. |
@sharkdp What should be the approach here? From what I understand we have two options,
I would go with (1) if given the option |
It's kind of Eigen's fault, in my opinion. They provide |
When trying to print Eigen::MatrixXd objects I get an assertion. Eigen::VectorXd objects work though.
Any ideas?
The text was updated successfully, but these errors were encountered: