Skip to content
Snippets Groups Projects
Commit 981e18a1 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Move definition of nlon and nlat out of the loop

parent e1b9ac7a
No related branches found
No related tags found
No related merge requests found
......@@ -142,10 +142,11 @@ program inst_eddies
! Done sorting
if (.not. periodic) nlon = size(ssh, 1)
nlat = size(ssh, 2)
loop_extr: do l = 1, s%number_extr
i = sorted_extr(l)
if (.not. periodic) nlon = size(ssh, 1)
nlat = size(ssh, 2)
associate (e => s%list(i))
! Define the geographical window around each eddy extremum:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment