Skip to content

Commit

Permalink
Formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Jun 7, 2024
1 parent 33c810a commit b7c65b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tardis/simulation/tests/test_convergence.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ def test_get_convergence_status(strategy):
value = np.array([1.0, 2.0, 3.0], dtype=np.float64)
estimated_value = np.array([1.01, 2.02, 3.03], dtype=np.float64)
no_of_cells = np.int64(3)
is_converged = solver.get_convergence_status(value, estimated_value, no_of_cells)
is_converged = solver.get_convergence_status(
value, estimated_value, no_of_cells
)
assert is_converged

value = np.array([1.0, 2.0, 3.0], dtype=np.float64)
estimated_value = np.array([2.0, 3.0, 4.0], dtype=np.float64)
is_converged = solver.get_convergence_status(value, estimated_value, no_of_cells)
is_converged = solver.get_convergence_status(
value, estimated_value, no_of_cells
)
assert not is_converged

0 comments on commit b7c65b3

Please sign in to comment.