Skip to content

Commit e29bbe4

Browse files
author
Man-Yat Chu
committed
add growth factor on DX1
1 parent a3d09d6 commit e29bbe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastpm/multi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def apply_density(k, v):
7373
source1[...] += sp.Omega(a) * source
7474
Omega_tot += sp.Omega(a)
7575

76-
DX1 = lpt1(source, Q)
76+
DX1 = lpt1(source, Q)*pt.D1(a)
7777
sp.S[...] = DX1
7878

7979
def apply_velocity(k, v):

0 commit comments

Comments
 (0)