From 99a5961c55820069772f35edbb8d4012a2d124f2 Mon Sep 17 00:00:00 2001 From: Will Handley Date: Fri, 23 Jun 2023 09:50:17 +0100 Subject: [PATCH] Bug fix to cube samples code with python to fortran indexing --- pypolychord/polychord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypolychord/polychord.py b/pypolychord/polychord.py index 1d497d58..88f4199b 100644 --- a/pypolychord/polychord.py +++ b/pypolychord/polychord.py @@ -303,7 +303,7 @@ def write(var): write('=== Number of equally weighted posterior points in each cluster ===') write(0) write('=== Minimum loglikelihood positions ===') - write(np.argmin(lives[:,-1])) + write(np.argmin(lives[:,-1])+1) write('=== Number of weighted posterior points in each dead cluster ===') write('=== Number of equally weighted posterior points in each dead cluster ===') write('=== global evidence -- log() ===')