Skip to content

Commit

Permalink
Merge pull request #2102 from jcarpent/topic/python
Browse files Browse the repository at this point in the history
Use bp::ssize_t for recent version of Windows compiler
  • Loading branch information
jcarpent authored Nov 28, 2023
2 parents 06be82d + bd23aaf commit 0c12ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Fixed

- Add missing include `<sys/types.h>` for recent version of Windows compilers ([#2101](https://github.com/stack-of-tasks/pinocchio/pull/2101))
- Use bp::ssize_t for recent version of Windows compilers ([#2102](https://github.com/stack-of-tasks/pinocchio/pull/2102))

## [2.6.21] - 2023-11-27

Expand Down
3 changes: 1 addition & 2 deletions bindings/python/utils/conversions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//

#include <sstream>
#include <sys/types.h>

#include "pinocchio/bindings/python/fwd.hpp"
#include "pinocchio/bindings/python/spatial/se3.hpp"
Expand Down Expand Up @@ -38,7 +37,7 @@ namespace pinocchio
template <typename TupleOrList>
SE3 XYZQUATToSE3_bp(const TupleOrList& v)
{
ssize_t size = bp::len(v);
bp::ssize_t size = bp::len(v);
if(size != 7)
{
throw std::invalid_argument(
Expand Down

0 comments on commit 0c12ba5

Please sign in to comment.