Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
j042 committed Jun 29, 2024
1 parent 7c67774 commit fb02e83
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gustaf/io/mixd.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ def load(
# boundary conditions
bcs = {}
try:
bcs_in = np.fromfile(mrng, dtype="_big_endian_int").astype(
np.int32
) # flattened
bcs_in = np.fromfile(mrng, dtype=_big_endian_int).astype(np.int32)
uniq_bcs_in = np.unique(bcs_in)
uniq_bcs_in = uniq_bcs_in[uniq_bcs_in > 0] # keep only natural nums
sub_elem_ids = np.arange(bcs_in.size)
Expand Down

0 comments on commit fb02e83

Please sign in to comment.