Skip to content

Commit 751cae5

Browse files
Update DeterministicParticleFlowControl.py
1 parent e3631b7 commit 751cae5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DeterministicParticleFlowControl/DeterministicParticleFlowControl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def calculate_u(self, grid_x, ti):
620620
mutz = np.mean(self.Ztr[di, :, ti])
621621
stdtz = np.std(self.Ztr[di, :, ti])
622622
u_t[di] = -(grid_x[:, di]- mutb)/stdtb**2 - (-(grid_x[:, di]- mutz)/stdtz**2)
623-
elif ti > 5:
623+
else: #if ti > 5:
624624
### clipping not used at the end but provided here for cases when
625625
### number of particles is small
626626
### and trajectories fall out of simulated flows

0 commit comments

Comments
 (0)