Skip to content

Commit

Permalink
remove uneccesary check
Browse files Browse the repository at this point in the history
  • Loading branch information
yallup authored Nov 14, 2023
1 parent 20cc452 commit 20155b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions anesthetic/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,10 +1198,7 @@ def contour(self, logL=None):
elif isinstance(logL, float):
pass
else:
try:
logL = float(self.logL[logL])
except KeyError:
pass
logL = float(self.logL[logL])
return logL

def live_points(self, logL=None):
Expand Down

0 comments on commit 20155b3

Please sign in to comment.