Skip to content

Commit

Permalink
Removed extraneous brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Feb 7, 2023
1 parent 78be405 commit fbd71c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anesthetic/examples/perfect_ns.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def random_sphere(n):
r = (points**2).sum(axis=-1, keepdims=True)**0.5

samples = merge_nested_samples(samples)
logLend = samples.loc[(samples.nlive >= nlive)].logL.max()
return samples.loc[(samples.logL_birth < logLend)].recompute()
logLend = samples.loc[samples.nlive >= nlive].logL.max()
return samples.loc[samples.logL_birth < logLend].recompute()


def correlated_gaussian(nlive, mean, cov, bounds=None):
Expand Down

0 comments on commit fbd71c0

Please sign in to comment.