Skip to content

Commit

Permalink
cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm committed Jun 29, 2022
1 parent 58751d0 commit 1829309
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meshmode/mesh/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ def _filter_mesh_groups(
# {{{ filter vertex indices

filtered_vertex_indices = [
mesh.groups[igrp].vertex_indices[
grp.vertex_indices[
filtered_group_elements[igrp], :]
for igrp in range(len(mesh.groups))
if mesh.groups[igrp].vertex_indices is not None]
for igrp, grp in enumerate(mesh.groups)
if grp.vertex_indices is not None]

filtered_vertex_indices_flat = np.concatenate([indices.ravel() for indices
in filtered_vertex_indices])
Expand Down

0 comments on commit 1829309

Please sign in to comment.