Skip to content
Snippets Groups Projects
Commit f3aba57d authored by Colm Talbot's avatar Colm Talbot
Browse files

Merge branch 'pymultinest-dont-reuse-previous-sampling-time' into 'master'

FIX: Make sure PyMultiNest restarts timer when not resuming

See merge request !1163
parents 14499abb e3f1613b
No related branches found
No related tags found
1 merge request!1163FIX: Make sure PyMultiNest restarts timer when not resuming
Pipeline #473680 failed
......@@ -145,6 +145,8 @@ class Pymultinest(_TemporaryFileSamplerMixin, NestedSampler):
self._setup_run_directory()
self._check_and_load_sampling_time_file()
if not self.kwargs["resume"]:
self.total_sampling_time = 0.0
# Overwrite pymultinest's signal handling function
pm_run = importlib.import_module("pymultinest.run")
......
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