summaryrefslogtreecommitdiffstatshomepage
path: root/tests/misc/rge_sm.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-02-02 16:11:25 +1100
committerDamien George <damien@micropython.org>2022-02-02 16:49:55 +1100
commitab2923dfa1174dc177f0a90cb00a7e4ff87958d2 (patch)
tree48566c83ba1b6658382c429d39b9f2c8bcc42af2 /tests/misc/rge_sm.py
parent326b2c79dfaf472d67e5e3fee5868e78ccc6be73 (diff)
downloadmicropython-ab2923dfa1174dc177f0a90cb00a7e4ff87958d2.tar.gz
micropython-ab2923dfa1174dc177f0a90cb00a7e4ff87958d2.zip
all: Update Python formatting to latest Black version 22.1.0.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/misc/rge_sm.py')
-rw-r--r--tests/misc/rge_sm.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/misc/rge_sm.py b/tests/misc/rge_sm.py
index f3bb4189f7..00b0a7a021 100644
--- a/tests/misc/rge_sm.py
+++ b/tests/misc/rge_sm.py
@@ -52,12 +52,12 @@ class RungeKutta(object):
# couplings are: g1, g2, g3 of U(1), SU(2), SU(3); yt (top Yukawa), lambda (Higgs quartic)
# see arxiv.org/abs/0812.4950, eqs 10-15
sysSM = (
- lambda *a: 41.0 / 96.0 / math.pi ** 2 * a[1] ** 3, # g1
- lambda *a: -19.0 / 96.0 / math.pi ** 2 * a[2] ** 3, # g2
- lambda *a: -42.0 / 96.0 / math.pi ** 2 * a[3] ** 3, # g3
+ lambda *a: 41.0 / 96.0 / math.pi**2 * a[1] ** 3, # g1
+ lambda *a: -19.0 / 96.0 / math.pi**2 * a[2] ** 3, # g2
+ lambda *a: -42.0 / 96.0 / math.pi**2 * a[3] ** 3, # g3
lambda *a: 1.0
/ 16.0
- / math.pi ** 2
+ / math.pi**2
* (
9.0 / 2.0 * a[4] ** 3
- 8.0 * a[3] ** 2 * a[4]
@@ -66,7 +66,7 @@ sysSM = (
), # yt
lambda *a: 1.0
/ 16.0
- / math.pi ** 2
+ / math.pi**2
* (
24.0 * a[5] ** 2
+ 12.0 * a[4] ** 2 * a[5]
@@ -137,5 +137,5 @@ def singleTraj(system, trajStart, h=0.02, tend=1.0):
# initial conditions at M_Z
singleTraj(
- sysSM, [0.354, 0.654, 1.278, 0.983, 0.131], h=0.5, tend=math.log(10 ** 17)
+ sysSM, [0.354, 0.654, 1.278, 0.983, 0.131], h=0.5, tend=math.log(10**17)
) # true values