Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
aa776e32
Commit
aa776e32
authored
Mar 13, 2019
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nifty5/data_objects/numpy_do.py
nifty5/data_objects/numpy_do.py
+1
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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