From 7602ae42d8f6759f86c5ce1326864b3f1693bcd1 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Sun, 7 Aug 2016 23:31:31 -0500 Subject: [PATCH] Fix typos. --- boxtree/area_query.py | 4 ++-- boxtree/fmm.py | 2 +- boxtree/tree_build.py | 2 +- doc/index.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/boxtree/area_query.py b/boxtree/area_query.py index 6799ce2..c37620d 100644 --- a/boxtree/area_query.py +++ b/boxtree/area_query.py @@ -86,8 +86,8 @@ class AreaQueryResult(DeviceDataRecord): .. attribute:: leaves_near_ball_starts - Indices into :attr:`query_lists`. - ``query_lists[leaves_near_ball_starts[ball_nr]: + Indices into :attr:`leaves_near_ball_lists`. + ``leaves_near_ball_lists[leaves_near_ball_starts[ball_nr]: leaves_near_ball_starts[ball_nr]+1]`` results in a list of leaf boxes that intersect `ball_nr`. diff --git a/boxtree/fmm.py b/boxtree/fmm.py index 97c86a7..1780d17 100644 --- a/boxtree/fmm.py +++ b/boxtree/fmm.py @@ -256,7 +256,7 @@ class ExpansionWranglerInterface: def eval_direct(self, target_boxes, neighbor_sources_starts, neighbor_sources_lists, src_weights): """For each box in *target_boxes*, evaluate the influence of the - neigbor sources due to *src_weights*, which use :ref:`csr` and are + neighbor sources due to *src_weights*, which use :ref:`csr` and are indexed like *target_boxes*. :returns: a new potential array, see :meth:`potential_zeros`. diff --git a/boxtree/tree_build.py b/boxtree/tree_build.py index c9ba5e1..1494109 100644 --- a/boxtree/tree_build.py +++ b/boxtree/tree_build.py @@ -92,7 +92,7 @@ class TreeBuilder(object): :arg stick_out_factor: See :attr:`Tree.stick_out_factor` and :ref:`extent`. :arg wait_for: may either be *None* or a list of :class:`pyopencl.Event` instances for whose completion this command waits before starting - exeuction. + execution. :arg non_adaptive: If *True*, return a tree in which all leaf boxes are on the same (last) level. The tree is pruned, in the sense that empty boxes have been eliminated. diff --git a/doc/index.rst b/doc/index.rst index 563c29d..9d86c88 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -25,7 +25,7 @@ included in the demo file), you can see what's going on: .. image:: images/tree.png More importantly, perhaps, than being able to draw the tree, the :class:`boxtree.Tree` -data structure is now accesible via the ``tree`` variable above, and the connecitivity +data structure is now accessible via the ``tree`` variable above, and the connectivity information needed for an FMM-like traversal is available in ``trav`` as a :class:`boxtree.traversal.FMMTraversalInfo`. -- GitLab