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
3dd360d1
Commit
3dd360d1
authored
Jun 12, 2016
by
theos
Browse files
Changed default of split keyword of field.argmin and field.argmax to False.
parent
e167ce2c
Pipeline
#5001
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty_field.py
View file @
3dd360d1
...
...
@@ -1129,7 +1129,7 @@ class field(object):
return
self
.
_unary_operation
(
self
.
get_val
(),
op
=
'var'
,
**
kwargs
)
def
argmin
(
self
,
split
=
Tru
e
,
**
kwargs
):
def
argmin
(
self
,
split
=
Fals
e
,
**
kwargs
):
"""
Returns the index of the minimum field value.
...
...
@@ -1158,7 +1158,7 @@ class field(object):
return
self
.
_unary_operation
(
self
.
get_val
(),
op
=
'argmin'
,
**
kwargs
)
def
argmax
(
self
,
split
=
Tru
e
,
**
kwargs
):
def
argmax
(
self
,
split
=
Fals
e
,
**
kwargs
):
"""
Returns the index of the maximum field value.
...
...
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