Commit 32078eba authored by Martin Reinecke's avatar Martin Reinecke
Browse files

more reshaping

parent 1822081e
......@@ -101,7 +101,7 @@ class PowerSpaceConsistencyCheck(unittest.TestCase):
bb = PowerSpace.useful_binbounds(harmonic_partner, logarithmic, nbin)
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')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment