Skip to content

Commit

Permalink
Update elements.cpp
Browse files Browse the repository at this point in the history
Correct naming in elements.cpp binding for LinearMap.
  • Loading branch information
cemitch99 authored Oct 15, 2024
1 parent ccad983 commit 2b288db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ void init_elements(py::module& m)
)
.def_property("R",
[](LinearMap & linearmap) { return linearmap.m_transport_map; },
[](LinearMap & linearmap, amrex::ParticleReal xkick) { linearmap.m_transport_map = linearmap; },
[](LinearMap & linearmap, LinearTransport::Map6x6 R) { linearmap.m_transport_map = linearmap; },
"linear map as a 6x6 transport matrix"
)

Expand Down

0 comments on commit 2b288db

Please sign in to comment.