Opened 14 years ago

Closed 14 years ago

#440 closed bug (Fixed)

Declaration error in set_avg.F — at Version 1

Reported by: m.hadfield Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.4
Component: Nonlinear Version: 3.4
Keywords: Cc:

Description (last modified by arango)

In set_avg.F, subroutine set_avg_tile, line 103, there is a USE mod_grid statement inside an #ifdef SOLVE3D block. But later, beginning at line 150, there is a call to vorticity_tile in which several components of GRID(ng) are passed, some not inside an #ifdef SOLVE3D block. So compilation of this module fails when SOLVE3D is not defined.

The solution: move USE mod_grid outside the #ifdef SOLVE3D block.

Change History (1)

comment:1 by arango, 14 years ago

Description: modified (diff)
Resolution: Fixed
Status: newclosed

Yes, good catch. Thank you.

Note: See TracTickets for help on using tickets.