Skip to content

Commit

Permalink
Add marker to default backtrackable elements
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Feb 2, 2023
1 parent acf8a32 commit 7b5b785
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xtrack/loss_location_refinement/loss_location_refinement.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
import xobjects as xo
import xpart as xp
from ..tracker import Tracker
from ..beam_elements import LimitPolygon, XYShift, SRotation, Drift
from ..beam_elements import LimitPolygon, XYShift, SRotation, Drift, Marker
from ..line import Line

import logging
logger = logging.getLogger(__name__)
logger.addHandler(logging.StreamHandler())

_default_allowed_backtrack_types = [Drift, SRotation, XYShift]
_default_allowed_backtrack_types = [Drift, SRotation, XYShift, Marker]

class LossLocationRefinement:

Expand Down

0 comments on commit 7b5b785

Please sign in to comment.