Skip to content

Commit

Permalink
Docs: Passed by Ref
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Sep 1, 2022
1 parent 8532d13 commit 6f75edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/impactx/madx_to_impactx.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def beam(particle, charge=None, mass=None, energy=None):
def read_beam(ref: RefPart, madx_file):
"""
Function that reads elements from a MAD-X file into a list of ImpactX.KnownElements
:param RefPart ref: ImpactX reference particle (pybind_11 object)
:param RefPart ref: ImpactX reference particle (passed by reference)
:param madx_file: file name to MAD-X file with beamline elements
:return: list of ImpactX.KnownElements
"""
Expand Down

0 comments on commit 6f75edf

Please sign in to comment.