Skip to content

Commit e29bbe4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastpm/multi.py

+1-1
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)