Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
johnveitch committed Apr 14, 2022
1 parent 2fec74f commit a26d62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpnest/NestedSampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def add(self, item):

class OrderedLivePoints(KeyOrderedList):
"""
Object tha contains live points ordered by increasing log-likelihood. Requires
Object that contains live points ordered by increasing log-likelihood. Requires
the log-likelihood to be pre-computed.
Assumes the log-likelihood is accesible as an attribute of each live point.
Expand All @@ -79,7 +79,7 @@ def insert_live_point(self, live_point):

def remove_n_worst_points(self, n):
"""
Remvoe the n worst live points
Remove the n worst live points
"""
del self[:n]
del self._keys[:n]
Expand Down

0 comments on commit a26d62b

Please sign in to comment.