From 3b577ab851d4c2076a30a284baa5b2b3229dcef8 Mon Sep 17 00:00:00 2001 From: Thomas <purcell@fhi-berlin.mpg.de> Date: Sun, 19 Sep 2021 12:34:45 +0200 Subject: [PATCH] Ensure prop is not dividing by 0 --- .../test_feature_creation/test_feat_generation/test_inv_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pytest/test_feature_creation/test_feat_generation/test_inv_node.py b/tests/pytest/test_feature_creation/test_feat_generation/test_inv_node.py index 646bb223..88cddd48 100644 --- a/tests/pytest/test_feature_creation/test_feat_generation/test_inv_node.py +++ b/tests/pytest/test_feature_creation/test_feat_generation/test_inv_node.py @@ -55,7 +55,7 @@ def test_inv_node(): pass try: - feats.append(InvNode(feat_1, 4, 1e1, 1e50)) + feats.append(InvNode(feat_1, 4, 1e40, 1e50)) raise InvalidFeatureMade("Inversion outside of user specified bounds") except RuntimeError: pass -- GitLab