Skip to content

Commit dae6e4d

Browse files
committed
STY: manual tweaking answering Copilot's review
1 parent e04cabc commit dae6e4d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/HD/ShearingBox/python/testidefix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def rhs(t, y, Omega, q, k0x, k0y, k0z):
8484
error = np.sqrt(
8585
(V["vx"] / v0 - y.sol(V["t"])[0, :]) ** 2
8686
+ (V["vy"] / v0 - y.sol(V["t"])[1, :]) ** 2
87-
+ +((V["vz"] / v0 - y.sol(V["t"])[2, :]) ** 2)
87+
+ (V["vz"] / v0 - y.sol(V["t"])[2, :]) ** 2
8888
)
8989

9090

test/MHD/ShearingBox/python/testidefix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def rhs(t, y, Omega, q, B0y, B0z, k0x, k0y, k0z):
102102
error = np.sqrt(
103103
(V["vx"] / v0 - y.sol(V["t"])[0, :]) ** 2
104104
+ (V["vy"] / v0 - y.sol(V["t"])[1, :]) ** 2
105-
+ +((V["vz"] / v0 - y.sol(V["t"])[2, :]) ** 2)
105+
+ (V["vz"] / v0 - y.sol(V["t"])[2, :]) ** 2
106106
)
107107

108108

0 commit comments

Comments
 (0)