Commit aa776e32 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'fix_numpy_do_absmax' into 'NIFTy_5'

fixes data_objects.numpy_do.absmax

See merge request !305
parents 4be4bc7f de6b2665
Pipeline #45289 passed with stages
in 20 minutes and 2 seconds
......@@ -149,7 +149,7 @@ def ensure_default_distributed(arr):
def absmax(arr):
return np.linalg.norm(arr.rehape(-1), ord=np.inf)
return np.linalg.norm(arr.reshape(-1), ord=np.inf)
def norm(arr, ord=2):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment