Commit 9c3737ec authored by Alexander Diewald's avatar Alexander Diewald
Browse files

Merge branch '3825' into 'master'

DSE-SolConv: Swap decomposition order of templates

See merge request af3/af3!239
parents 3f1da66f b294c9b4
PlatformConnectorInstanceConverter.java 65b5b5fdb6d6ae557a82880a8d7144d857670d7e GREEN
PlatformExecUnitInstantiationConverter.java 56f613cdb0ccce5ee61dbb47e6b7d03d24c2eeaf GREEN
PlatformExecUnitInstantiationConverter.java 907696be68cbc3a9f118c4bfd3ca1159d5cb9c59 GREEN
PlatformTransmissionConnectionConverter.java a9fd9797b9a3a781b7b4ada122fd23493f415044 GREEN
......@@ -104,8 +104,8 @@ public class PlatformExecUnitInstantiationConverter
// Remove all template elements and, by that, unconnected connectors.
for(ExecutionUnit template : templateExecUnits) {
Collection<IConnector> neighbors = getNeighborConnectors(template);
ecs.decompose(template);
neighbors.stream().filter(c -> !hasConnections(c)).forEach(c -> ecs.decompose(c));
ecs.decompose(template);
}
return outPlatArch;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment