pybind11 icon indicating copy to clipboard operation
pybind11 copied to clipboard

[eigen] Obey noconvert() in Eigen::Sparse type_caster

Open EricCousineau-TRI opened this issue 2 years ago • 1 comments

Description

This is forwarding a fix from @jwnimmer-tri from our Drake fork (https://github.com/RobotLocomotion/pybind11/pull/69). See https://github.com/RobotLocomotion/drake/issues/20516 for how it affected us.

Suggested changelog entry:

Obey noconvert() in Eigen::Sparse type_caster

EricCousineau-TRI avatar Nov 11 '23 20:11 EricCousineau-TRI

Hi @EricCousineau-TRI, lgtm, but could you please also add a test that fails without this change?

rwgk avatar Nov 12 '23 18:11 rwgk