Skip to content

Commit

Permalink
fix warning string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Nov 30, 2020
1 parent bb02297 commit 6e2d6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ultranest/integrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ def _refill_samples(self, Lmin, ndraw, nit):

if not self.sampling_slow_warned and nit * ndraw >= 100000 and nit > 20:
warning_message1 = ("Sampling from region seems inefficient (%d/%d accepted in iteration %d). " % (accepted.sum(), ndraw, nit))
warning_message2 = "To improve efficiency, modify the transformation so that the current live points%%s are ellipsoidal, " + \
warning_message2 = "To improve efficiency, modify the transformation so that the current live points%s are ellipsoidal, " + \
"or use a stepsampler, or set frac_remain to a lower number (e.g., 0.5) to terminate earlier."
if self.log_to_disk:
debug_filename = os.path.join(self.logs['extra'], 'sampling-stuck-it%d')
Expand Down

0 comments on commit 6e2d6f3

Please sign in to comment.