Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
IMAGINE
Commits
b6b167d7
Commit
b6b167d7
authored
Nov 20, 2017
by
Theo Steininger
Browse files
fixed bug in Pipeline heuristics
parent
ac73e3e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
imagine/pipeline.py
View file @
b6b167d7
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment