Skip to content

Commit c79f200

Browse files
committed
Remove extraneous optional traversal argument to drive_fmm
1 parent c641323 commit c79f200

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pytential/qbx/fmm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,7 @@ def make_container():
400400

401401
# {{{ FMM top-level
402402

403-
def drive_fmm(expansion_wrangler, src_weight_vecs, timing_data=None,
404-
traversal=None):
403+
def drive_fmm(expansion_wrangler, src_weight_vecs, timing_data=None):
405404
"""Top-level driver routine for the QBX fast multipole calculation.
406405
407406
:arg geo_data: A :class:`pytential.qbx.geometry.QBXFMMGeometryData` instance.

test/test_cost_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,8 +745,8 @@ def test_cost_model_correctness(actx_factory, dim, off_surface,
745745
src_weights = np.ones(ndofs)
746746

747747
timing_data = {}
748-
potential = drive_fmm(wrangler, (src_weights,), timing_data,
749-
traversal=wrangler.trav)[0][geo_data.ncenters:]
748+
potential = drive_fmm(wrangler, (src_weights,), timing_data
749+
)[0][geo_data.ncenters:]
750750

751751
# Check constant one wrangler for correctness.
752752
assert np.all(potential == ndofs)

0 commit comments

Comments
 (0)