#2402 closed Bug (fixed)

access undefined values in a control print of cpl_oasis3

Reported by: smasson Owned by: systeam
Priority: low Milestone:
Component: SBC Version: release-4.0
Severity: minor Keywords:
Cc: Branch review: failed
MP ready?: no Task progress: Unspecified


same as #2401 but for release-4.0-HEAD


print in lines 446-448:

WRITE(numout,*) '     - Minimum value is ', MINVAL(pdata(:,:,jc))
WRITE(numout,*) '     - Maximum value is ', MAXVAL(pdata(:,:,jc))
WRITE(numout,*) '     -     Sum value is ',    SUM(pdata(:,:,jc))

access undefined values as pdata is defined only from nldi to nlei and from nldj to nlej


this bug was partially fixed in [12132], when changing lines 365-367 but I forgot to look a little bit further down and to change also lines 446-448


trivial bugfix: replace pdata(:,:,jc) by pdata(nldi:nlei,nldj:nlej,jc)

Commit History (0)

(No commits)

Change History (2)

comment:1 Changed 21 months ago by smasson

fixed in [12528]

comment:2 Changed 21 months ago by smasson

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