Skip to content
GitLab
Menu
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
754da5e2
Commit
754da5e2
authored
Sep 16, 2017
by
Martin Reinecke
Browse files
try to bisect the problem
parent
86970424
Pipeline
#18299
passed with stage
in 6 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty2go/spaces/rg_space/rg_space.py
View file @
754da5e2
...
...
@@ -86,7 +86,7 @@ class RGSpace(Space):
self
.
_harmonic
=
bool
(
harmonic
)
self
.
_shape
=
self
.
_parse_shape
(
shape
)
self
.
_distances
=
self
.
_parse_distances
(
distances
)
#
self._wgt = reduce(lambda x, y: x*y, self._distances)
self
.
_wgt
=
float
(
reduce
(
lambda
x
,
y
:
x
*
y
,
self
.
_distances
)
)
self
.
_dim
=
int
(
reduce
(
lambda
x
,
y
:
x
*
y
,
self
.
_shape
))
def
__repr__
(
self
):
...
...
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