-
Notifications
You must be signed in to change notification settings - Fork 789
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
Remove operator^ from Matrix and SubgraphPreconditioner #1969
Remove operator^ from Matrix and SubgraphPreconditioner #1969
Conversation
Eigen recently added an operator^ for coefficient-wise bitwise xor, which conflicts with gtsam's operator^. Since gtsam's operator^ isn't xor, I opted to remove it. Fixes borglab#1951.
Thanks! The patch was yours in the first place <3 |
Thanks for doing this ! The CI fails on testMatrix.cpp, though. You can check at least the unit tests on your platform with “make check”. |
PS @calcmogul / Tyler, looking at your website, I’d gladly welcome your input on IP methods for GTSAM. @yetongumich did a PhD thesis on constrained optimization using “synthesized” manifolds, and he’s working on a few PRs that will include some IP methods, I think. He can comment more - but it’d be great to have an extra set of eyes on those :-) |
Two of the test files don't compile for me with GCC 14, even on develop:
|
I'd be happy to. Some IPMs that properly deal with manifolds would be really good to have. |
I had to apply this diff, but otherwise works with newer Eigen for me! Why might CI here be missing cassert includes, but I'm hitting them locally with gcc diff --git a/gtsam/basis/Chebyshev2.cpp b/gtsam/basis/Chebyshev2.cpp
index 71c3db7f0..df7bf5f19 100644
--- a/gtsam/basis/Chebyshev2.cpp
+++ b/gtsam/basis/Chebyshev2.cpp
@@ -17,6 +17,7 @@
*/
#include <gtsam/basis/Chebyshev2.h>
+#include <cassert>
namespace gtsam {
|
(I'm also seeing this in our CI as well) |
Might need to cast explicitly or use an explicit template. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks !!! I will merge as soon as last CI passes.
Eigen recently added an operator^ for coefficient-wise bitwise xor, which conflicts with gtsam's operator^. Since gtsam's operator^ isn't xor, I opted to remove it.
Fixes #1951.