Skip to content

Commit 7bd7d1b

Browse files
committed
Run black
1 parent dfe5a54 commit 7bd7d1b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

discretize/tensor_mesh.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,12 +603,12 @@ def cell_bounds(self):
603603
``y2``, ``z1``, ``z2``, where ``x1 < x2``, ``y1 < y2`` and ``z1 < z2``.
604604
"""
605605
nodes = self.nodes.reshape((*self.shape_nodes, -1), order="F")
606-
607-
min_nodes = nodes[(slice(-1), )*self.dim]
606+
607+
min_nodes = nodes[(slice(-1),) * self.dim]
608608
min_nodes = min_nodes.reshape((self.n_cells, -1), order="F")
609-
max_nodes = nodes[(slice(1, None), )*self.dim]
609+
max_nodes = nodes[(slice(1, None),) * self.dim]
610610
max_nodes = max_nodes.reshape((self.n_cells, -1), order="F")
611-
611+
612612
cell_bounds = np.stack((min_nodes, max_nodes), axis=-1)
613613
cell_bounds = cell_bounds.reshape((self.n_cells, -1))
614614
return cell_bounds

0 commit comments

Comments
 (0)