Commit b6b167d7 authored by Theo Steininger's avatar Theo Steininger
Browse files

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:
Supports Markdown
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