From 1ef24f1016566e1f3b5d98c43d3d53c8187c2f1e Mon Sep 17 00:00:00 2001 From: janbridley Date: Wed, 30 Oct 2024 11:50:42 -0400 Subject: [PATCH] Fix test for polygon::to_hoomd --- tests/test_polygon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_polygon.py b/tests/test_polygon.py index b24aa493..42c64158 100644 --- a/tests/test_polygon.py +++ b/tests/test_polygon.py @@ -603,7 +603,7 @@ def test_to_hoomd(points): poly.centroid = [0, 0, 0] dict_keys = ["vertices", "centroid", "sweep_radius", "area", "moment_inertia"] dict_vals = [ - poly.vertices, + poly.vertices[:,:2], [0, 0, 0], 0, poly.area,