Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Dec 20, 2024
1 parent d905b43 commit 9f002c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ffcx/ir/representation.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ def _compute_integral_ir(
)
points = basix.cell.geometry(getattr(basix.CellType, cellname))
cell_volume = basix.cell.volume(getattr(basix.CellType, cellname))
weights = np.full(points.shape[0], cell_volume / points.shape[0], dtype=points.dtype)
weights = np.full(
points.shape[0], cell_volume / points.shape[0], dtype=points.dtype
)
else:
degree = md["quadrature_degree"]
points, weights, tensor_factors = create_quadrature_points_and_weights(
Expand Down

0 comments on commit 9f002c5

Please sign in to comment.