瀏覽代碼

pdevs/mpi: fix bug

Eric RAMAT 8 年之前
父節點
當前提交
c18f61b556
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/tests/mpi/cluster/graph_manager.hpp

+ 1 - 1
src/tests/mpi/cluster/graph_manager.hpp

@@ -182,7 +182,7 @@ public:
 	  if (not models[it2->first.first]->exist_out_port(out_ss.str())) {
 	    models[it2->first.first]->add_out_port(out_ss.str());
 	  }
-	  in_ss << "in_" << it2->second.second;
+	  in_ss << "in_" << it2->first.second;
 	  if (not models[it2->second.first]->exist_in_port(in_ss.str())) {
 	    models[it2->second.first]->add_in_port(in_ss.str());
 	  }