Skip to content

Commit 73db2b5

Browse files
authored
Fix misleading naming in test_stokes
1 parent fd5c729 commit 73db2b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_stokes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,17 +365,17 @@ def test_exterior_stokes(actx_factory, ambient_dim, method, nu, visualize=False)
365365
error_format="%.8e",
366366
eoc_format="%.2f"))
367367

368-
extra_order = 0
368+
orders_lost = 0
369369
if method == "biharmonic":
370-
extra_order += 1
370+
orders_lost += 1
371371
elif nu != 0.5:
372-
extra_order += 0.5
372+
orders_lost += 0.5
373373
for eoc in eocs:
374374
# This convergence data is not as clean as it could be. See
375375
# https://github.com/inducer/pytential/pull/32
376376
# for some discussion.
377377
order = min(target_order, qbx_order)
378-
assert eoc.order_estimate() > order - 0.5 - extra_order
378+
assert eoc.order_estimate() > order - 0.5 - orders_lost
379379

380380
# }}}
381381

0 commit comments

Comments
 (0)