Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
zariiii9003 committed Dec 12, 2023
1 parent 6a45c89 commit 7589e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asammdf/blocks/mdf_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -6927,7 +6927,7 @@ def _get_array(
shape = (shape[0],) + shape[1:][::-1]
vals = vals.reshape(shape)

axes = (0, *tuple(range(len(shape) - 1, 0, -1)))
axes = (0, *reversed(range(1, len(shape))))
vals = transpose(vals, axes=axes)

cycles_nr = len(vals)
Expand Down

0 comments on commit 7589e2e

Please sign in to comment.