Skip to content

Commit

Permalink
Adding comment to also update Scipy AA code
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvansebille committed Aug 26, 2024
1 parent af46e0e commit a1750d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parcels/application_kernels/advection.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def AdvectionAnalytical(particle, fieldset, time):
updatexi = 0
updateyi = 0

Check warning on line 141 in parcels/application_kernels/advection.py

View check run for this annotation

Codecov / codecov/patch

parcels/application_kernels/advection.py#L140-L141

Added lines #L140 - L141 were not covered by tests
if abs(xsi - 1) < tol:
if fieldset.U.data[0, zi + 1, yi + 1, xi + 1] > 0:
if fieldset.U.data[0, zi + 1, yi + 1, xi + 1] > 0: # TODO update scipy code here to match JIT kernel
updatexi = 1

Check warning on line 144 in parcels/application_kernels/advection.py

View check run for this annotation

Codecov / codecov/patch

parcels/application_kernels/advection.py#L143-L144

Added lines #L143 - L144 were not covered by tests
xsi = 0
elif abs(xsi) < tol:
Expand Down

0 comments on commit a1750d5

Please sign in to comment.