Skip to content

Commit

Permalink
Merge pull request #347 from paulneves77/patch-1
Browse files Browse the repository at this point in the history
Update surface.py
  • Loading branch information
utf authored Oct 10, 2023
2 parents 11d19ec + 9a5d069 commit 6e5b241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ifermi/surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ def trim_surface(
from trimesh.intersections import slice_faces_plane

for center, normal in zip(reciprocal_cell.centers, reciprocal_cell.normals):
vertices, faces = slice_faces_plane(vertices, faces, -normal, center)
vertices, faces = slice_faces_plane(vertices, faces, -normal, center)[:2]
return vertices, faces


Expand Down

0 comments on commit 6e5b241

Please sign in to comment.