Fixed normalization of _compute in power spectrum

This commit is contained in:
Guilhem Lavaux 2015-01-20 16:11:58 +01:00
parent 9c9aa6c2e3
commit 54fb5d927f

View File

@ -90,7 +90,7 @@ cdef class CosmologyPower:
cdef double _compute(self, double k): cdef double _compute(self, double k):
k *= self.power.h k *= self.power.h
return self.power.power(k) return self.power.power(k) * self.power.h**3
def compute(self, k): def compute(self, k):
cdef np.ndarray out cdef np.ndarray out