Skip to content

Commit 1829309

Browse files
committed
cosmetic change
1 parent 58751d0 commit 1829309

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meshmode/mesh/processing.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ def _filter_mesh_groups(
151151
# {{{ filter vertex indices
152152

153153
filtered_vertex_indices = [
154-
mesh.groups[igrp].vertex_indices[
154+
grp.vertex_indices[
155155
filtered_group_elements[igrp], :]
156-
for igrp in range(len(mesh.groups))
157-
if mesh.groups[igrp].vertex_indices is not None]
156+
for igrp, grp in enumerate(mesh.groups)
157+
if grp.vertex_indices is not None]
158158

159159
filtered_vertex_indices_flat = np.concatenate([indices.ravel() for indices
160160
in filtered_vertex_indices])

0 commit comments

Comments
 (0)