Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent 9f50184 commit bc2ecd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Examples/Tests/diff_lumi_diag/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
# Check that the simulation result and analytical result match
error = abs(dL_dE_sim - dL_dE_th).max() / abs(dL_dE_th).max()
tol = 1e-2
print('Relative error: ', error)
print('Tolerance: ', tol )
print("Relative error: ", error)
print("Tolerance: ", tol)
assert error < tol

# Get name of the test
Expand Down
1 change: 0 additions & 1 deletion Examples/Tests/diff_lumi_diag/inputs
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ DifferentialLuminosity_beam1_beam2.species = beam1 beam2
DifferentialLuminosity_beam1_beam2.bin_number = 128
DifferentialLuminosity_beam1_beam2.bin_max = 2.1*beam_energy
DifferentialLuminosity_beam1_beam2.bin_min = 1.9*beam_energy

0 comments on commit bc2ecd9

Please sign in to comment.