Skip to content

Commit

Permalink
Use new copy method in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelFP committed May 2, 2024
1 parent 0e9d256 commit c876f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_parabolic_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def parabolic_coefficient(z):
# Create identical bunches for each case.
bunch = get_matched_bunch(
1e-6, 1e-6, 200, 1, 3, laser.xi_c - 30e-6, 1e-6, 1e4, n_p=n_p)
bunch_1 = deepcopy(bunch)
bunch_2 = deepcopy(bunch)
bunch_1 = bunch.copy()
bunch_2 = bunch.copy()

# Create single plasma stage (containing all sections).
plasma_single = PlasmaStage(
Expand Down

0 comments on commit c876f4d

Please sign in to comment.