Commit 345a906b authored by Moritz Huebner's avatar Moritz Huebner

Merge remote-tracking branch 'origin/master'

parents 6ca5572b cac92a5e
Pipeline #20676 failed with stages
in 12 seconds
......@@ -6,6 +6,7 @@ import os
import sys
import numpy as np
import matplotlib.pyplot as plt
import time
from .result import Result, read_in_result
from .prior import Prior, fill_priors
......@@ -151,7 +152,10 @@ class Sampler(object):
except AttributeError as e:
logging.warning('Cannot sample from {}, {}'.format(key, e))
t1 = time.time()
"Single likelihood eval. took {} s".format(time.time() - t1))
except TypeError as e:
raise TypeError(
"Likelihood evaluation failed with message: \n'{}'\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment