X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/1b7818e18ed7bcf3464e307b97c6e0e6d72cc69b..8fb3c55ee009a11db5e1c08a4cfb286979412745:/FunctionalInterface.cpp?ds=sidebyside diff --git a/FunctionalInterface.cpp b/FunctionalInterface.cpp index eec7ea8..c0b63af 100644 --- a/FunctionalInterface.cpp +++ b/FunctionalInterface.cpp @@ -116,7 +116,7 @@ bool FunctionalInterface::canConnectTo(AbstractInterface *iface) { if ((direction == Output) && (iface->getDirection() == Output) && (purpose == iface->getPurpose())) return true; if ((direction == InOut) && (iface->getDirection() == InOut) && (purpose == iface->getPurpose())) return true; } - else if ((getOwner()->isSourceBlock()) && (iface->getOwner()->isTopGroupBlock())) { + else if ((getOwner()->isStimuliBlock()) && (iface->getOwner()->isTopGroupBlock())) { if ((direction == Output) && (iface->getDirection() == Input) && (purpose == iface->getPurpose())) return true; }