Skip to content
Snippets Groups Projects
Unverified Commit ebde399e authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #429 from stack-of-tasks/namespace

do not use namespace eigenpy and define bp
parents e55c5685 c60cf2a2
No related branches found
No related tags found
No related merge requests found
Pipeline #35827 passed with warnings
......@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Fix the issue of missing exposition of Eigen types with __int64 scalar type ([#426](https://github.com/stack-of-tasks/eigenpy/pull/426))
- Fix namespace use in unittest/std_pair.cpp ([#429](https://github.com/stack-of-tasks/eigenpy/pull/429))
## [3.3.0] - 2024-01-23
......
......@@ -18,12 +18,10 @@ std::pair<T1, T2> copy(const std::pair<T1, T2>& pair) {
}
BOOST_PYTHON_MODULE(std_pair) {
using namespace eigenpy;
enableEigenPy();
eigenpy::enableEigenPy();
typedef std::pair<int, double> PairType;
StdPairConverter<PairType>::registration();
eigenpy::StdPairConverter<PairType>::registration();
bp::def("std_pair_to_tuple", std_pair_to_tuple<int, double>);
bp::def("copy", copy<int, double>);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment