Skip to content

Commit

Permalink
_verts_len already on cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
nirmal-suthar committed Sep 1, 2021
1 parent 51febb6 commit f3435be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rep/mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ function TriMesh(
verts = [T.(v) for v in verts]
faces = [R.(f) for f in faces]

_verts_len = cpu(size.(verts, 2))
_faces_len = cpu(size.(faces, 2))
_verts_len = size.(verts, 2)
_faces_len = size.(faces, 2)

N = length(verts)
V = maximum(_verts_len)
Expand Down

0 comments on commit f3435be

Please sign in to comment.