Skip to content

Fix regression in interact! behavior

Brian Groenke requested to merge bgroenke/cryogridjulia:bugfix/interact into master

interact! was being called twice on each pair of layers due to a flawed recent change to the logic of how coupled processes work.

This flaw has now been resolved by (1) reverting back to previous "star" pattern implementation of interact! for joint coupled processes, and (2) allowing StratComponent to take non-coupled (single) layer types.

The possible drawback is that interactions between layers with multiple/coupled processes are now less automatic and must generally now be specified manually (though this is probably in general better for avoiding unintended behavior).

Merge request reports