Skip to content

Commit

Permalink
Merge pull request #45 from N3PDF/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
felixhekhorn committed Sep 27, 2022
2 parents 6568293 + 1d56a95 commit 9923b5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ repos:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.38.0
rev: v2.38.2
hooks:
- id: pyupgrade
- repo: https://github.com/pycqa/pydocstyle
Expand Down
4 changes: 1 addition & 3 deletions src/pineko/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,7 @@ def fk(self, name, grid_path, tcard, pdf):
q2_grid = operators["Q2grid"].keys()
# PineAPPL wants alpha_s = 4*pi*a_s
# remember that we already accounted for xif in the opcard generation
alphas_values = [
4.0 * np.pi * astrong.a_s(xir * xir * Q2) for Q2 in q2_grid
]
alphas_values = [4.0 * np.pi * astrong.a_s(xir * xir * Q2) for Q2 in q2_grid]
# Obtain the assumptions hash
assumptions = theory_card.construct_assumptions(tcard)
# do it!
Expand Down

0 comments on commit 9923b5c

Please sign in to comment.