Skip to content

Commit

Permalink
Make Python current arg optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
cemitch99 committed Feb 14, 2025
1 parent 796f19d commit 4e7c288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/ImpactX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ void init_ImpactX (py::module& m)
ix.amr_data->track_envelope.m_ref = ref;
ix.amr_data->track_envelope.m_env = initialization::create_envelope(current,distr);
},
py::arg("ref"), py::arg("distr"), py::arg("current"),
py::arg("ref"), py::arg("distr"), py::arg("current") = 0.0,
"Envelope tracking mode:"
"Create a 6x6 covariance matrix from a distribution and then initialize "
"the the simulation for envelope tracking relative to a reference particle."
Expand Down

0 comments on commit 4e7c288

Please sign in to comment.