Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-j committed Aug 27, 2024
1 parent d34f580 commit fff219b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions prospect/fitting/nested.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import sys, time
import time
import numpy as np

from .fitting import lnprobfn


__all__ = ["run_nested_sampler", "parse_nested_kwargs"]

Expand Down Expand Up @@ -102,7 +100,7 @@ def run_nested_sampler(model,
# --- Nestle ---
if fitter == "nestle":
import nestle
result = nestle.sample(lnprobfn,
result = nestle.sample(likelihood_function,
model.prior_transform,
model.ndim,
**nested_sampler_kwargs)
Expand Down

0 comments on commit fff219b

Please sign in to comment.