Parcourir la source

pdevs/mpi: fix bug

Eric RAMAT il y a 7 ans
Parent
commit
c18f61b556
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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());
 	  }