Skip to content

Commit

Permalink
Tests updated for faces to hace right dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
Kramer84 committed Oct 22, 2024
1 parent f4b6768 commit e0b12db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_simplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_example():

def test_empty():
verts = np.zeros((0,3), dtype=np.float32)
faces = np.zeros((0,3), dtype=np.float32)
faces = np.zeros((0,3), dtype=np.int32)

simp = pyfqmr.Simplify()
simp.setMesh(verts, faces)
Expand All @@ -50,7 +50,7 @@ def test_example_lossless():

def test_empty_lossless():
verts = np.zeros((0,3), dtype=np.float32)
faces = np.zeros((0,3), dtype=np.float32)
faces = np.zeros((0,3), dtype=np.int32)

simp = pyfqmr.Simplify()
simp.setMesh(verts, faces)
Expand Down

0 comments on commit e0b12db

Please sign in to comment.