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

Merge branch 'master' into develop-GA

parents 4b4621dc dcc68bee
No related branches found
No related tags found
No related merge requests found
......@@ -282,6 +282,10 @@ class MCMCSearch(core.BaseSearchClass):
acors[temp, :] = emcee.autocorr.exponential_time(x)
c = np.max(acors, axis=0)
except emcee.autocorr.AutocorrError:
logging.info('Failed to calculate exponential autocorrelation')
c = np.zeros(self.ndim) + np.nan
except AttributeError:
logging.info('Unable to calculate exponential autocorrelation')
c = np.zeros(self.ndim) + np.nan
self.convergence_diagnosticx.append(i - self.convergence_n/2.)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment