Skip to content

Commit 97c8854

Browse files
committed
Fix assert
1 parent b23d93d commit 97c8854

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/adios4dolfinx/backends/xdmf/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def read_mesh_data(
109109
Returns:
110110
Internal data structure for the mesh data read from file
111111
"""
112-
assert read_from_partition == False
112+
assert not read_from_partition
113113
check_file_exists(filename)
114114
with dolfinx.io.XDMFFile(comm, filename, "r") as file:
115115
cell_shape, cell_degree = file.read_cell_type()

0 commit comments

Comments
 (0)