diff --git a/tests/test_flatland_core_grid_grid_utils.py b/tests/test_flatland_core_grid_grid_utils.py index 61693c4f6376efe044ce9da37e5550d51f8fdfd6..35ecd247dc9908c4c70529ad977e22b45f8add1d 100644 --- a/tests/test_flatland_core_grid_grid_utils.py +++ b/tests/test_flatland_core_grid_grid_utils.py @@ -71,7 +71,7 @@ def test_vec2d_norm(): res_1 = Vec2d.get_norm(node_a) res_2 = Vec2d.get_norm(node_b) assert np.sqrt(1 * 1 + 2 * 2) == res_1 - assert np.sqrt(1 * 1 + (-2) * -(2)) == res_2 + assert np.sqrt(1 * 1 + (-2) * (-2)) == res_2 def test_vec2d_normalize():