]> AND Private Git Repository - blast.git/blobdiff - GroupInterface.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
changed sources to stimulis
[blast.git] / GroupInterface.cpp
index 5f292b6aad1a94488dd809206f78b7802059a5a0..b42e7a047020869c98cbe341d8804f455106a0bc 100644 (file)
@@ -122,7 +122,7 @@ bool GroupInterface::canConnectFrom(AbstractInterface *iface) {
     if ((direction == Input) && (iface->getDirection() == Input) && (purpose == iface->getPurpose())) return true;
     if ((direction == InOut) && (iface->getDirection() == InOut) && (purpose == iface->getPurpose())) return true;
   }
-  else if ((getOwner()->isTopGroupBlock()) && (iface->getOwner()->isSourceBlock())) {
+  else if ((getOwner()->isTopGroupBlock()) && (iface->getOwner()->isStimuliBlock())) {
     if ((direction == Input) && (iface->getDirection() == Output) && (purpose == iface->getPurpose())) return true;
   }