Skip to content

Commit

Permalink
Abckward compatible behavior in autogenerated target tags
Browse files Browse the repository at this point in the history
  • Loading branch information
giadarol committed Dec 9, 2024
1 parent a07a00a commit b930f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtrack/match.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def __init__(self, tars=None, value=None,start=None, end=None,
thistol *= 1e+2
if vv is not None:
if tag is not None:
this_tag = tag + f'_{kk}'
this_tag = tag
else:
this_tag = kk
self.targets.append(TargetRmatrixTerm(kk, vv, start=start, end=end,
Expand Down

0 comments on commit b930f70

Please sign in to comment.