Skip to content

Commit

Permalink
quick fix (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: nate-sime <>
  • Loading branch information
nate-sime authored Apr 11, 2024
1 parent b99e532 commit db210ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions febug/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def plot_meshtags_values(meshtags: dolfinx.mesh.MeshTags,
labels = meshtags.values

entities_local = entities[entities < size_local]
labels_local = labels[labels < size_local]
labels_local = labels[entities < size_local]
entities_ghost = entities[entities >= size_local]
labels_ghost = labels[labels >= size_local]
labels_ghost = labels[entities >= size_local]

def plot_midpoint_label(entities, labels, color):
x = dolfinx.mesh.compute_midpoints(mesh, tdim, entities)
Expand Down

0 comments on commit db210ed

Please sign in to comment.