Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Claas Abert committed May 22, 2020
1 parent c48f1c6 commit f00caf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meshio/vtu/_vtu.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,9 @@ def read_uncompressed_binary(self, data, data_type):
"<" if self.byte_order == "LittleEndian" else ">"
)
num_bytes_per_item = numpy.dtype(dtype).itemsize
total_num_bytes = int(numpy.frombuffer(byte_string[:num_bytes_per_item], dtype)[0])
total_num_bytes = int(
numpy.frombuffer(byte_string[:num_bytes_per_item], dtype)[0]
)

# Check if block size was decoded separately
# (so decoding stopped after block size due to padding)
Expand Down

0 comments on commit f00caf4

Please sign in to comment.