Skip to content

Commit 0e7dde7

Browse files
committed
Fixes typo in TreeCell documentation
1 parent 621a0db commit 0e7dde7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

discretize/_extensions/tree_ext.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cdef class TreeCell:
2525
2626
This cannot be created in python, it can only be accessed by indexing the
2727
:class:`~discretize.TreeMesh` object. ``TreeCell`` is the object being passed
28-
to the user defined refine function when calling tshe
28+
to the user defined refine function when calling the
2929
:py:attr:`~discretize.TreeMesh.refine` method for a :class:`~discretize.TreeMesh`.
3030
3131
Examples
@@ -1219,19 +1219,19 @@ cdef class _TreeMesh:
12191219
12201220
This function takes an N-dimensional image, defined on the underlying fine tensor mesh,
12211221
and recursively subdivides each cell if that cell contains more than 1 unique value in the
1222-
image. This is useful when using the TreeMesh to represent an exact compressed form of an input
1222+
image. This is useful when using the `TreeMesh` to represent an exact compressed form of an input
12231223
model.
12241224
12251225
Parameters
12261226
----------
12271227
image : (shape_cells) numpy.ndarray
1228-
Must have the same shape as the base tensor mesh (TreeMesh.shape_cells), as if every cell on this mesh was
1228+
Must have the same shape as the base tensor mesh (`TreeMesh.shape_cells`), as if every cell on this mesh was
12291229
refined to it's maximum level.
12301230
finalize : bool, optional
12311231
Whether to finalize after inserting point(s)
12321232
diagonal_balance : bool or None, optional
12331233
Whether to balance cells diagonally in the refinement, `None` implies using
1234-
the same setting used to instantiate the TreeMesh`.
1234+
the same setting used to instantiate the `TreeMesh`.
12351235
12361236
"""
12371237
if diagonal_balance is None:

0 commit comments

Comments
 (0)