Skip to content
Snippets Groups Projects

Fix multinest timing

Merged Sylvia Biscoveanu requested to merge sylvia.biscoveanu/bilby:fix_multinest_time into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -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))
Loading