Skip to content

Commit

Permalink
Merge pull request #320 from artivis/fix/assert
Browse files Browse the repository at this point in the history
Explicitly include cassert
  • Loading branch information
artivis authored Feb 8, 2025
2 parents 9a45168 + 5fba36c commit 1904163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions include/manif/impl/eigen.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _MANIF_MANIF_EIGEN_H_
#define _MANIF_MANIF_EIGEN_H_

#include <cassert>

#include <Eigen/Core>
#include <Eigen/LU> // for mat.inverse()
#include <Eigen/Geometry>
Expand Down
2 changes: 0 additions & 2 deletions test/bundle/gtest_bundle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,6 @@ TEST(Bundle, Interface)
EXPECT_EIGEN_NEAR(G_Ginv.element<1>().inverse().coeffs(), SO3d::Identity().coeffs());
EXPECT_EIGEN_NEAR(G_Ginv.element<2>().inverse().coeffs(), R1d::Identity().coeffs());

typename GroupA::Vector vec;

auto adj = G.adj();
Eigen::Matrix2d adj0 = adj.block<2, 2>(0, 0);
EXPECT_EIGEN_NEAR(adj0, G.element<0>().adj());
Expand Down

0 comments on commit 1904163

Please sign in to comment.