Skip to content

Commit

Permalink
pre-commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Oct 8, 2024
1 parent a5b2d61 commit 9e46e7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scifem/xdmf.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,9 @@ def write_hdf5_h5py(
)
points[data.local_range[0] : data.local_range[1], :] = data.points_out
cells = step.create_dataset("Cells", (data.num_dofs_global,), dtype=np.int64)
cells[data.local_range[0]:data.local_range[1]] = np.arange(
data.local_range[0], data.local_range[1], dtype=np.int64)
cells[data.local_range[0] : data.local_range[1]] = np.arange(
data.local_range[0], data.local_range[1], dtype=np.int64
)
for u in functions:
# Pad array to 3D if vector space with 2 components
array = np.zeros(
Expand Down

0 comments on commit 9e46e7e

Please sign in to comment.