Skip to content

Commit 4692fa6

Browse files
committed
Fix
1 parent 9c02072 commit 4692fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtrack/particles/particles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1630,7 +1630,7 @@ def gen_local_particle_api(cls, mode='no_local_copy'):
16301630
else:
16311631
src_angles_lines.append(' double const rpp = LocalParticle_get_rpp(part);')
16321632
src_angles_lines.append(' // INFO: this is not the angle, but sin(angle)')
1633-
src_angles_lines.append(' return p{xx}*rpp;')
1633+
src_angles_lines.append(f' return p{xx}*rpp;')
16341634
src_angles_lines.append('}')
16351635
src_angles_lines.append('')
16361636

0 commit comments

Comments
 (0)