Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
indiamai committed Jan 17, 2025
1 parent 361d81a commit ff9764e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions firedrake/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import rtree
from textwrap import dedent
from pathlib import Path
from firedrake.petsc import PETSc

from pyop2 import op2
from pyop2.mpi import (
Expand Down Expand Up @@ -1264,7 +1263,7 @@ def cell_closure(self):

cell = self.ufl_cell()
assert tdim == cell.topological_dimension()

if self.submesh_parent is not None:
return dmcommon.submesh_create_cell_closure_cell_submesh(plex,
self.submesh_parent.topology_dm,
Expand Down Expand Up @@ -1316,7 +1315,6 @@ def cell_closure(self):

@utils.cached_property
def entity_orientations(self):
plex = self.topology_dm
return dmcommon.entity_orientations(self, self.cell_closure)

@PETSc.Log.EventDecorator()
Expand Down

0 comments on commit ff9764e

Please sign in to comment.