Skip to content

Commit

Permalink
__repr__: no select entries
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Jan 13, 2025
1 parent d729b2f commit d0ffd9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/python/elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1578,9 +1578,7 @@ void init_elements(py::module& m)
.def("__repr__",
[](LinearMap const & linearmap) {
return element_name(
linearmap,
std::make_pair("R11", linearmap.m_transport_map(1,1)),
std::make_pair("R12", linearmap.m_transport_map(1,2))
linearmap
);
}
)
Expand Down

0 comments on commit d0ffd9c

Please sign in to comment.