Skip to content

Commit

Permalink
FIX: revert operator.add change
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Aug 7, 2024
1 parent b589b71 commit 9b1b70b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions docs/usage/dynamics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,6 @@
},
"outputs": [],
"source": [
"import operator\n",
"\n",
"from ampform.dynamics import PhaseSpaceFactorComplex\n",
"\n",
"# Two types of relativistic Breit-Wigners\n",
Expand Down Expand Up @@ -622,7 +620,7 @@
" alpha=0.3,\n",
" )\n",
" iplt.axvline(\n",
" operator.add,\n",
" lambda m1, m2, **kwargs: m1 + m2,\n",
" controls=controls,\n",
" ax=ax,\n",
" c=\"black\",\n",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ known-third-party = ["sympy"]
split-on-trailing-comma = false

[tool.ruff.lint.per-file-ignores]
"**/docs/usage/dynamics.ipynb" = ["RUF027"]
"**/docs/usage/dynamics.ipynb" = ["FURB118", "RUF027"]
"**/docs/usage/symplot.ipynb" = ["RUF027"]
"**/docs/usage/sympy.ipynb" = ["E731"]
"*.ipynb" = [
Expand Down

0 comments on commit 9b1b70b

Please sign in to comment.