diff --git a/CHANGELOG.md b/CHANGELOG.md index 27804e89..c9782887 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Changed + +- The `exposeStdVectorEigenSpecificType()` template function now takes the vector allocator as a template parameter. + ## [3.8.2] - 2024-08-26 ### Fixed diff --git a/include/eigenpy/std-vector.hpp b/include/eigenpy/std-vector.hpp index 2dbdabfd..bcef20c8 100644 --- a/include/eigenpy/std-vector.hpp +++ b/include/eigenpy/std-vector.hpp @@ -485,9 +485,9 @@ struct StdVectorPythonVisitor { */ void EIGENPY_DLLAPI exposeStdVector(); -template +template > void exposeStdVectorEigenSpecificType(const char *name) { - typedef std::vector > VecMatType; + typedef std::vector VecMatType; std::string full_name = "StdVec_"; full_name += name; StdVectorPythonVisitor::expose(