Skip to content

Commit

Permalink
remove np.flip from tests to support old versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Jun 16, 2019
1 parent 0776076 commit 606312f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_vertices.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_vertex_faces(self):
# face indices are correct
rand_vertices = g.np.random.randint(low=0, high=len(m.vertices), size=100)
for v in rand_vertices:
v_faces = g.np.flip(g.np.where(m.faces == v)[0], axis=0)
v_faces = g.np.where(m.faces == v)[0][::-1]
assert (g.np.all(v_faces == m.vertex_faces[v][m.vertex_faces[v] >= 0]))

# Intentionally cause fallback to looping over vertices and make sure we
Expand Down
2 changes: 1 addition & 1 deletion trimesh/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.38.32'
__version__ = '2.38.33'

0 comments on commit 606312f

Please sign in to comment.