~fluidity-core/fluidity/sea-ice-coupling

Viewing all changes in revision 3520.32.263.

Fix null dereference when checking halo types

Logical evaluations aren't necessarily short-circuited when an
argument evaluates to .false., so

   if (associated(foo) .and. (foo%bar == baz))

may dereference foo even if it is unassociated. So don't do it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: