Skip to content

Commit

Permalink
concat changed to concatenate in pyat/at/physics/avlinopt (#834)
Browse files Browse the repository at this point in the history
concat changed to concatenate
  • Loading branch information
simoneliuzzo authored Sep 13, 2024
1 parent ac67bfa commit 5e3ca23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyat/at/physics/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ def displong(disp0, ir, k2, lg):
avebeta[b_long] = betalong(di.beta, di.alpha, Kxy, Lxy)
avedx = displong(di.dispersion[:, :2], irho, Kx, L)
avedy = displong(di.dispersion[:, 2:], np.zeros_like(irho), Ky, L)
avedisp[b_long] = np.concat((avedx, avedy), axis=1)
avedisp[b_long] = np.concatenate((avedx, avedy), axis=1)

return lindata, avebeta, avemu, avedisp, aves, bd.tune, bd.chromaticity

Expand Down

0 comments on commit 5e3ca23

Please sign in to comment.