Scheduled maintenance on Monday 2019-06-24 between 10:00-11:00 CEST

fixed bug in Pipeline heuristics

parent ac73e3e2
......@@ -150,7 +150,7 @@ class Pipeline(Loggable, object):
# heuristic for minimizers:
# if a parameter value from outside of the cube is requested, return
# the worst possible likelihood value
if np.any(abs(cube_content) > 1.):
if np.any(cube_content > 1.) or np.any(cube_content < 0.):
return np.nan_to_num(-np.inf)
if rank != 0:
......
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