Skip to content

Commit

Permalink
Merge pull request #101 from jgfouca/jgfouca/fix_valgrind_error
Browse files Browse the repository at this point in the history
Fix a valgrind uninitialized conditional error in cosp
  • Loading branch information
alejandrobodas authored Sep 17, 2024
2 parents 342aa2c + d02112b commit 5056a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cosp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ function COSP_SIMULATOR(cospIN,cospgridIN,cospOUT,start_idx,stop_idx,debug)
Lrttov_column = .true.

! Set flag to deallocate rttov types (only done on final call to simulator)
if (size(cospOUT%isccp_meantb) .eq. stop_idx) lrttov_cleanUp = .true.
if (associated(cospOUT%isccp_meantb) .and. size(cospOUT%isccp_meantb) .eq. stop_idx) lrttov_cleanUp = .true.

! ISCCP column
if (associated(cospOUT%isccp_fq) .or. &
Expand Down

0 comments on commit 5056a99

Please sign in to comment.