There are a few locations in WOMBATlite/mid where the max intrinsic is used with an array argument. But from @JhanSrbinovsky over here:
reading again max(wombat%seddic(:,:) this might not be advisable. MAX() usually handles scalars a full array might require MAXVAL()