Opened 12 years ago

Closed 12 years ago

#536 closed bug (Fixed)

Corrected typo in sediment_mod.h

Reported by: arango Owned by: arango
Priority: minor Milestone: Release ROMS/TOMS 3.6
Component: Nonlinear Version: 3.6
Keywords: Cc:

Description

Corrected a typo in ROMS/Nonlinear/Sediment/sediment_mod.h during the allocation of variable transC and transN. We need to have instead:

#if defined MIXED_BED
      IF (.not.allocated(transC)) THEN
        allocate ( transC(Ngrids) )
        transC = IniVal
      END IF
      IF (.not.allocated(transN)) THEN
        allocate ( transN(Ngrids) )
        transN = IniVal
      END IF
#endif

Many thanks to Alfredo Aretxabaleta for bringing this to my attention.

Change History (1)

comment:1 by arango, 12 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.