Opened 7 years ago

Closed 3 years ago

#1113 closed Bug (wontfix)

possible out-of-bound if the first W-level is below 10m

Reported by: avidard Owned by: gm
Priority: low Milestone:
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

in domzgr.F90

in the computation of the deepest/shallowest W level Above/Below? ~10m (line 290) one can find

nla10 = nlb10 - 1

if there is no level above 10m (as in SEABASS) nlb10=1 and then nla10=0, since this is used as array boundary somewhere else it can cause an out-of-bound

not sure what the corrected code should be

nla10 = MAX(nlb10 - 1,1) ?

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 7 years ago by clevy

  • Owner changed from NEMO team to gm

comment:2 Changed 3 years ago by clevy

  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.