Skip to content

Commit

Permalink
Use new copy method
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFP committed May 15, 2024
1 parent 899db13 commit 5792feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_field_quadrupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_field_vs_tm_quadrupole():
ene=gamma_avg, ene_sp=ene_spread, s_t=s_t, xi_c=xi_avg,
q_tot=q_bunch, n_part=n_part, name='elec_bunch')

bunch_2 = copy.deepcopy(bunch_1)
bunch_2 = bunch_1.copy()

foc_strength = 100 # T/m
quadrupole_length = 0.05 # m
Expand Down

0 comments on commit 5792feb

Please sign in to comment.