Skip to content

Commit

Permalink
more rst formatting issues of directive
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Sep 19, 2022
1 parent 6ef7ae1 commit 2abaa28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ultranest/netiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def find_nodes_before(root, value):
class PointPile(object):
"""A in-memory linearized storage of point coordinates.
:py:class:`TreeNode`s only store the logL value and id,
:py:class:`TreeNode` objects only store the logL value and id,
which is the index in the point pile. The point pile stores
the point coordinates in u and p-space (transformed and untransformed).
"""
Expand Down
2 changes: 1 addition & 1 deletion ultranest/popstepsampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _setup(self, ndim):
self.searching_right = np.zeros(self.popsize, dtype=bool)

def step_back(self, Lmin):
"""see `:func:ultranest.stepfuncs.step_back` :func:ultranest.stepfuncs.step_back."""
"""see :py:func:`ultranest.stepfuncs.step_back`"""
step_back(Lmin, self.allL, self.generation, self.currentt)

def setup_start(self, us, Ls, starting):
Expand Down
4 changes: 2 additions & 2 deletions ultranest/stepsampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ def __next__(self, region, Lmin, us, Ls, transform, loglike, ndraw=10, plot=Fals
number of draws to attempt simultaneously.
plot: bool
whether to produce debug plots.
tregion: WrappingEllipsoid
tregion: :py:class:`WrappingEllipsoid`
optional ellipsoid in transformed space for rejecting proposals
"""
Expand Down Expand Up @@ -1114,7 +1114,7 @@ def ellipsoid_bracket(ui, v, ellipsoid_center, ellipsoid_inv_axes, ellipsoid_rad
ellipsoid_center: array
center of the ellipsoid
ellipsoid_inv_axes: array
ellipsoid axes matrix, as computed by :class:WrappingEllipsoid
ellipsoid axes matrix, as computed by :py:class:`WrappingEllipsoid`
ellipsoid_radius_square: float
square of the ellipsoid radius
Expand Down

0 comments on commit 2abaa28

Please sign in to comment.