![]() Registered Member ![]()
|
Before Eigen v3.3, i can use the following c++1y code to named the sub expressions to improve readability. However with the current version, i got "Segmentation fault (core dumped)".
I have to use the following, but i am still wondering are there any ways to named the sub expressions in current version? Thanks in advance.
Last edited by forza inter on Mon Oct 27, 2014 10:03 am, edited 1 time in total.
|
![]() Moderator ![]()
|
can you show the backtrace, as in theory the upcoming 3.3 version should exhibit much fewer pitfalls regarding named expression.
|
![]() Registered Member ![]()
|
I changed it to single thread version as below, and the result is the same ("Segmentation fault (core dumped)").
Here's the backtrace:
|
![]() Moderator ![]()
|
I cannot reproduce using either clang and gcc. I also run the code within valgrind, no error. Make sure your copy of the devel branch is up-to-date.
|
![]() Registered Member ![]()
|
Sorry, actually i made a mistake. Before i have a system wide eigen installation (extra/eigen 3.2.2-1), after i replaced it with the latest hg version and now it's running well.
Thanks a lot. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]