Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
aa776e32
Commit
aa776e32
authored
Mar 13, 2019
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
nifty5/data_objects/numpy_do.py
View file @
aa776e32
...
...
@@ -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
.
re
s
hape
(
-
1
),
ord
=
np
.
inf
)
def
norm
(
arr
,
ord
=
2
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment