From 9f002c50051b6223a260ecc67730b53ca83b32fe Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Fri, 20 Dec 2024 09:24:08 +0000 Subject: [PATCH] ruff --- ffcx/ir/representation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ffcx/ir/representation.py b/ffcx/ir/representation.py index 321a7af11..1f615b3bd 100644 --- a/ffcx/ir/representation.py +++ b/ffcx/ir/representation.py @@ -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(