From: Anthony Geay Date: Wed, 9 Mar 2016 07:32:08 +0000 (+0100) Subject: Bug correction for cluster detection. X-Git-Tag: V7_8_0a2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5cff4243588a90f3156b25de3bc2b1c73a740fd7;hp=c24cacd609cd96fa0151beebb0e42be2c2b553d5;p=modules%2Fyacs.git Bug correction for cluster detection. --- diff --git a/src/evalyfx/YACSEvalResource.cxx b/src/evalyfx/YACSEvalResource.cxx index 619ec2fe6..84b549128 100644 --- a/src/evalyfx/YACSEvalResource.cxx +++ b/src/evalyfx/YACSEvalResource.cxx @@ -393,7 +393,7 @@ bool YACSEvalListOfResources::isInteractive() const throw YACS::Exception(oss.str()); } const ParserResourcesType& elt((*it2).second); - status[ii]=(elt.ClusterInternalProtocol==sh || elt.ClusterInternalProtocol==rsh || elt.ClusterInternalProtocol==ssh); + status[ii]=(elt.Batch==none); } std::size_t trueRet(std::count(status.begin(),status.end(),true)),falseRet(std::count(status.begin(),status.end(),false)); if(trueRet==sz && falseRet==0)