#1659 closed Bug (fixed)
Out of bounds array in trdmxl.F90
Reported by: | timgraham | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | 2015 release-3.6 |
Component: | OCE | Version: | v3.6 |
Severity: | Keywords: | 2015 OPA v3.6 | |
Cc: |
Description
In trdmxl.F90 ztmltrd2 and zsmltrd2 are allocated as follows where jpltrd=11 (set in trdmxl_oce.F90).
CALL wrk_alloc( jpi, jpj, jpltrd, ztmltrd2, zsmltrd2 )
Later in the same subroutine the array is used as:
ztmlatf2(:,:) = ztmltrd2(:,:,jpmxl_atf) - tmltrd_sum(:,:,jpmxl_atf) + tmltrd_atf_sumb(:,:)
but jpmxl_trd=12.
I think jpltrd should be 12.
Commit History (2)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
6209 | timgraham | 2016-01-05T10:41:58+01:00 | Fix for ticket #1659 |
6208 | timgraham | 2016-01-05T10:36:37+01:00 | Fix for ticket #1659 |
Change History (5)
comment:1 Changed 9 years ago by timgraham
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 9 years ago by nicolasmartin
- Keywords 2015 nemo_v3_6* added
comment:3 Changed 7 years ago by nemo
- Keywords release-3.6* added; nemo_v3_6* removed
comment:4 Changed 7 years ago by nemo
- Keywords release-3.6* removed
comment:5 Changed 3 years ago by nemo
- Keywords OPA v3.6 added
Note: See
TracTickets for help on using
tickets.
Fixed in nemo_v3_6_STABLE at r6208
Fixed in trunk at r6209