Skip to content

Commit

Permalink
Update logic
Browse files Browse the repository at this point in the history
  • Loading branch information
rckirby committed Jun 19, 2024
1 parent 692036e commit ff66e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsfc/fem.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def physical_tangents(self):

def physical_normals(self):
cell = self.interface.fiat_cell
if (not isinstance(cell, UFCSimplex)) and cell.get_dimension() == 2:
if not (isinstance(cell, UFCSimplex) and cell.get_dimension() == 2):
raise NotImplementedError("Can't do physical normals on that cell yet")

num_edges = len(cell.get_topology()[1])
Expand Down

0 comments on commit ff66e0f

Please sign in to comment.