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
5bbff04b
Commit
5bbff04b
authored
Oct 28, 2017
by
Martin Reinecke
Browse files
portability fix
parent
0bb08987
Pipeline
#20796
passed with stage
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/data_objects/my_own_do.py
View file @
5bbff04b
...
...
@@ -189,7 +189,7 @@ def sqrt(a, out=None):
return
out
def
bincount
(
x
,
weights
=
None
,
minlength
=
0
):
def
bincount
(
x
,
weights
=
None
,
minlength
=
None
):
if
weights
is
not
None
:
weights
=
weights
.
_data
res
=
np
.
bincount
(
x
.
_data
,
weights
,
minlength
)
...
...
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