Skip to content

Commit

Permalink
flake
Browse files Browse the repository at this point in the history
  • Loading branch information
rckirby committed Jul 2, 2024
1 parent fb2e8e4 commit 71e84a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ def test_heat_eq(deg, convrate, time_stages, kwargs):
conv = np.log2(diff[:-1] / diff[1:])
assert (conv > convrate).all()


@pytest.mark.parametrize(('deg', 'convrate', 'time_stages'),
[(2, 2.8, i) for i in (2, 3)]
+[(3, 3.8, i) for i in (3, 4)])
+ [(3, 3.8, i) for i in (3, 4)])
def test_heat_bern(deg, convrate, time_stages):
diff = np.array([heat(i, deg, time_stages, **{"stage_type": "value", "basis_type": "Bernstein"}) for i in range(3, 6)])
conv = np.log2(diff[:-1] / diff[1:])
Expand Down

0 comments on commit 71e84a0

Please sign in to comment.