Fixed normalization of _compute in power spectrum
This commit is contained in:
parent
9c9aa6c2e3
commit
54fb5d927f
@ -90,7 +90,7 @@ cdef class CosmologyPower:
|
||||
|
||||
cdef double _compute(self, double k):
|
||||
k *= self.power.h
|
||||
return self.power.power(k)
|
||||
return self.power.power(k) * self.power.h**3
|
||||
|
||||
def compute(self, k):
|
||||
cdef np.ndarray out
|
||||
|
Loading…
Reference in New Issue
Block a user