Skip to content

Commit

Permalink
Fix to polar boundary condition issue in teca_vorticity.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
taobrienlbl committed May 19, 2022
1 parent 906e3e0 commit c82afe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alg/teca_vorticity.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void vorticity(num_t *w, const pt_t *lon, const pt_t *lat,
num_t *dest = w;
num_t *src = w + n_lon;
for (unsigned long i = 0; i < n_lon; ++i)
dest[i] = src[i+n_lon];
dest[i] = src[i];

dest = w + max_j*n_lon;
src = dest - n_lon;
Expand Down

0 comments on commit c82afe3

Please sign in to comment.