diff --git a/bilby/core/sampler/pymultinest.py b/bilby/core/sampler/pymultinest.py index 9421c8207c09dae938d4b37cf6b61a46c2853a42..eaa14ccef7ec2c570689e6d17f9f3e09f3cdfc07 100644 --- a/bilby/core/sampler/pymultinest.py +++ b/bilby/core/sampler/pymultinest.py @@ -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))