Skip to content
Snippets Groups Projects
Commit ca942985 authored by Sylvia Biscoveanu's avatar Sylvia Biscoveanu
Browse files

Fix multinest timing

parent 2d9665c8
No related branches found
No related tags found
1 merge request!830Fix multinest timing
......@@ -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