|
@@ -149,7 +149,7 @@ public:
|
|
|
paradevs::pdevs::GraphManager < common::DoubleTime,
|
|
|
LevelGraphManagerParameters >(
|
|
|
coordinator, parameters),
|
|
|
- model("m", parameters.index, false)
|
|
|
+ model("m", parameters.index + 1, true)
|
|
|
{
|
|
|
add_child(&model);
|
|
|
for (std::vector <
|
|
@@ -177,7 +177,7 @@ public:
|
|
|
}
|
|
|
}
|
|
|
if (it2->second.first == parameters.index) {
|
|
|
- in_ss << "in_" << it2->second.second;
|
|
|
+ in_ss << "in_" << it2->first.second;
|
|
|
if (not model.exist_in_port(in_ss.str())) {
|
|
|
model.add_in_port(in_ss.str());
|
|
|
}
|