X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/3bcfe4df6fdde086eb1b59f7a0173358170174a1..8fb3c55ee009a11db5e1c08a4cfb286979412745:/FunctionalInterface.cpp 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; }