Skip to content

Commit eb1faa5

Browse files
committed
Fix
1 parent 1e3ccbf commit eb1faa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xpart/longitudinal/generate_longitudinal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ def generate_longitudinal_coordinates(
236236
# Compute beta0 from gamma0
237237
beta0 = np.sqrt(1 - 1 / gamma0**2)
238238

239+
matcher = None
240+
239241
if engine is None:
240242
if line is not None and dct['found_only_linear_longitudinal']:
241243
engine = 'linear'

0 commit comments

Comments
 (0)