File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
77## [ Unreleased]
88
9+ ### Changed
10+
11+ - The ` exposeStdVectorEigenSpecificType() ` template function now takes the vector allocator as a template parameter.
12+
913## [ 3.8.2] - 2024-08-26
1014
1115### Fixed
Original file line number Diff line number Diff line change @@ -485,9 +485,9 @@ struct StdVectorPythonVisitor {
485485 */
486486void EIGENPY_DLLAPI exposeStdVector ();
487487
488- template <typename MatType>
488+ template <typename MatType, typename Alloc = Eigen::aligned_allocator<MatType> >
489489void exposeStdVectorEigenSpecificType (const char *name) {
490- typedef std::vector<MatType, Eigen::aligned_allocator<MatType> > VecMatType;
490+ typedef std::vector<MatType, Alloc > VecMatType;
491491 std::string full_name = " StdVec_" ;
492492 full_name += name;
493493 StdVectorPythonVisitor<VecMatType>::expose (
You can’t perform that action at this time.
0 commit comments