Skip to content

Commit

Permalink
fix for cris-fsr memory corruption (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit authored Jul 9, 2024
1 parent a827064 commit a5e2a43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gsi/correlated_obsmod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ subroutine set_(instrument,fname,mask,method,kreq,kmut,ErrorCov)
ErrorCov%nch_active = coun
if (.not.GMAO_ObsErrorCov) ErrorCov%nctot = nctot
call create_(coun,ErrorCov)
allocate(indxRf(nch_active),indxR(nch_active),Rcov(nctot,nctot))
allocate(indxRf(coun),indxR(nch_active),Rcov(nctot,nctot))

! Read GSI-like channel numbers used in estimating R for this instrument
read(lu,IOSTAT=ioflag) indxR
Expand Down

0 comments on commit a5e2a43

Please sign in to comment.