Skip to content

Commit

Permalink
Reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LimbeckKat committed Nov 22, 2024
1 parent 1a93c3e commit 4f5dc43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/test_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ def test_graph_function():
analytic = []
for t in ts:
q = np.exp(-t)
analytic.append((5 + 5 * q - 4 * q**2) / ((1 + q) * (1 + 2 * q)))
analytic.append(
(5 + 5 * q - 4 * q**2) / ((1 + q) * (1 + 2 * q))
)
analytic = np.array(analytic)

assert np.allclose(mag, analytic), (
Expand Down
4 changes: 3 additions & 1 deletion tests/test_mag.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def test_fun():
for ts in tss:
# ts = np.linspace(0, 1, 100)
for method in methods:
Mag = Magnipy(X=np.array([[0], [1]]), ts=ts, method=method, n_ts=100)
Mag = Magnipy(
X=np.array([[0], [1]]), ts=ts, method=method, n_ts=100
)

mag, ts = Mag.get_magnitude()

Expand Down

0 comments on commit 4f5dc43

Please sign in to comment.