Skip to content

pybind: fix hashable requirements

Ben Boeckel requested to merge ben.boeckel/smtk:pybind-future-compat into master

The CellEntity type is hashable, so add __hash__. For MeshSet, however, the cell and point field methods return std::set which only requires operator<. The Python set requires its values be hashable. This is not the case for the CellField or PointField types. Instead, return vectors of the values.

Merge request reports