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
nomad-lab
cpp_sisso
Commits
3b577ab8
Commit
3b577ab8
authored
Sep 19, 2021
by
Thomas Purcell
Browse files
Ensure prop is not dividing by 0
parent
c296d752
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/pytest/test_feature_creation/test_feat_generation/test_inv_node.py
View file @
3b577ab8
...
...
@@ -55,7 +55,7 @@ def test_inv_node():
pass
try
:
feats
.
append
(
InvNode
(
feat_1
,
4
,
1e
1
,
1e50
))
feats
.
append
(
InvNode
(
feat_1
,
4
,
1e
40
,
1e50
))
raise
InvalidFeatureMade
(
"Inversion outside of user specified bounds"
)
except
RuntimeError
:
pass
...
...
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