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

Go faster if there is a single date

Avoid calling hunt in that case.
parent 09ed875a
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,11 @@ contains
!---------------------------------------------------------------------
call hunt([hshp%d0, huge(0)], k, i_shpc)
if (size(hshp) == 1) then
i_shpc = 1
else
call hunt([hshp%d0, huge(0)], k, i_shpc)
end if
if (k == hshp(i_shpc)%d0) then
ishape_first = 0
......
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