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
32078eba
Commit
32078eba
authored
Sep 05, 2017
by
Martin Reinecke
Browse files
more reshaping
parent
1822081e
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test_spaces/test_power_space.py
View file @
32078eba
...
@@ -101,7 +101,7 @@ class PowerSpaceConsistencyCheck(unittest.TestCase):
...
@@ -101,7 +101,7 @@ class PowerSpaceConsistencyCheck(unittest.TestCase):
bb
=
PowerSpace
.
useful_binbounds
(
harmonic_partner
,
logarithmic
,
nbin
)
bb
=
PowerSpace
.
useful_binbounds
(
harmonic_partner
,
logarithmic
,
nbin
)
p
=
PowerSpace
(
harmonic_partner
=
harmonic_partner
,
binbounds
=
bb
)
p
=
PowerSpace
(
harmonic_partner
=
harmonic_partner
,
binbounds
=
bb
)
assert_equal
(
np
.
bincount
(
p
.
pindex
.
flatten
(
)),
p
.
rho
,
assert_equal
(
np
.
bincount
(
p
.
pindex
.
reshape
(
-
1
)),
p
.
rho
,
err_msg
=
'rho is not equal to pindex degeneracy'
)
err_msg
=
'rho is not equal to pindex degeneracy'
)
...
...
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