Skip to content

Commit

Permalink
fixed a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSlimvReal committed May 7, 2019
1 parent be7bf2b commit c16680c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heat/core/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def transpose(a, axes=None):

return dndarray.DNDarray(transposed_data, transposed_shape, a.dtype, transposed_split, a.device, a.comm)
# if not possible re- raise any torch exception as ValueError
except RuntimeError as exception:
except Exception as exception:
raise ValueError(str(exception))


Expand Down

0 comments on commit c16680c

Please sign in to comment.