Skip to content

Commit

Permalink
cppad: Deactivate algorithm geometry and model explicit template inst…
Browse files Browse the repository at this point in the history
…antiation
  • Loading branch information
jorisv authored and Megane Millan committed Jan 28, 2025
1 parent 95019e4 commit 9329cc0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/pinocchio/algorithm/geometry.txx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef __pinocchio_algorithm_geometry_txx__
#define __pinocchio_algorithm_geometry_txx__

#ifndef PINOCCHIO_SKIP_CASADI_UNSUPPORTED
#ifndef PINOCCHIO_SKIP_ALGORTIHM_GEOMETRY

namespace pinocchio
{
Expand All @@ -27,6 +27,6 @@ namespace pinocchio

} // namespace pinocchio

#endif // PINOCCHIO_SKIP_CASADI_UNSUPPORTED
#endif // PINOCCHIO_SKIP_ALGORITHM_GEOMETRY

#endif // ifndef __pinocchio_algorithm_geometry_txx__
1 change: 1 addition & 0 deletions include/pinocchio/context/casadi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#define PINOCCHIO_SKIP_ALGORITHM_CONTACT_JACOBIAN
#define PINOCCHIO_SKIP_ALGORITHM_CHOLESKY
#define PINOCCHIO_SKIP_ALGORITHM_MODEL
#define PINOCCHIO_SKIP_ALGORITHM_GEOMETRY
#define PINOCCHIO_SKIP_MULTIBODY_SAMPLE_MODELS

#define PINOCCHIO_SKIP_CASADI_UNSUPPORTED
Expand Down
2 changes: 2 additions & 0 deletions include/pinocchio/context/cppad.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#define PINOCCHIO_SKIP_ALGORITHM_CONTACT_CHOLESKY
#define PINOCCHIO_SKIP_ALGORITHM_CONTACT_JACOBIAN
#define PINOCCHIO_SKIP_ALGORITHM_CHOLESKY
#define PINOCCHIO_SKIP_ALGORITHM_MODEL
#define PINOCCHIO_SKIP_ALGORITHM_GEOMETRY
#define PINOCCHIO_SKIP_MULTIBODY_SAMPLE_MODELS

namespace pinocchio
Expand Down
2 changes: 2 additions & 0 deletions include/pinocchio/context/cppadcg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
#define PINOCCHIO_SKIP_ALGORITHM_CONTACT_CHOLESKY
#define PINOCCHIO_SKIP_ALGORITHM_CONTACT_JACOBIAN
#define PINOCCHIO_SKIP_ALGORITHM_CHOLESKY
#define PINOCCHIO_SKIP_ALGORITHM_MODEL
#define PINOCCHIO_SKIP_ALGORITHM_GEOMETRY
#define PINOCCHIO_SKIP_MULTIBODY_SAMPLE_MODELS

namespace pinocchio
Expand Down
4 changes: 2 additions & 2 deletions src/algorithm/geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "pinocchio/spatial/fwd.hpp"

#ifndef PINOCCHIO_SKIP_CASADI_UNSUPPORTED
#ifndef PINOCCHIO_SKIP_ALGORITHM_GEOMETRY

#include "pinocchio/algorithm/geometry.hpp"

Expand All @@ -28,4 +28,4 @@ namespace pinocchio

} // namespace pinocchio

#endif // PINOCCHIO_SKIP_CASADI_UNSUPPORTED
#endif // PINOCCHIO_SKIP_ALGORITHM_GEOMETRY

0 comments on commit 9329cc0

Please sign in to comment.