Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug fix: move initialization of the array sicen into the i loop in which it is used.
@eclare108213
148 measured results of 148 total results
148 of 148 tests PASSED
0 of 148 tests PENDING
0 of 148 tests MISSING data
0 of 148 tests FAILED
https://github.com/CICE-Consortium/Test-Results/wiki/9c33551629.badger.intel.20-12-30.174250.0
In icedrv_init_column.F90, the sicen array is set as a slice of the trcrn array for each grid cell, but that was done in a loop prior to the loop in which it is used, so only i=nx values were used. The changes to icepack_zbgc.F90 are purely cosmetic.
This does not fix the problem in cice (PR #548). There is another bug fix for that, independent of these changes (PR#549).