Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libforcing/src/forcing_field.F90
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ subroutine forcing_field_apply_perturbations(self, forcing_date, experiment_date
integer :: num_separable_perturbations
logical :: found

if (size(self%perturbations) == 0) then
if (.not. allocated(self%perturbations) .or. size(self%perturbations) == 0) then
return
endif

Expand Down