Skip to content
Snippets Groups Projects
Commit 3289bf61 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fix_multinest_time' into 'master'

Fix multinest timing

Closes #500

See merge request lscsoft/bilby!830
parents ba828445 ca942985
No related branches found
No related tags found
1 merge request!830Fix multinest timing
Pipeline #141145 passed
......@@ -271,6 +271,7 @@ class Pymultinest(NestedSampler):
current_time = time.time()
new_sampling_time = current_time - self.start_time
self.total_sampling_time += new_sampling_time
self.start_time = current_time
with open(self.time_file_path, 'w') as time_file:
time_file.write(str(self.total_sampling_time))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment