Skip to content

Commit

Permalink
Bug fix gmsh remesher
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCeulemans committed Nov 28, 2023
1 parent b85f65d commit 2244e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magritte/mesher.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_non_point(self):
def del_non_point(self, p):
# remove the non-connected point
self.points = np.delete(self.points, p, 0)
self.neighbors = np.delete(self.neighbors, p, 0)
self.neighbors.pop(p)
# Change all indices, since a point got removed
self.tetras = relocate_indices(self.tetras, p)
self.edges = relocate_indices(self.edges, p)
Expand Down

0 comments on commit 2244e49

Please sign in to comment.