]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
small mistake in [EDF15946]
authorLauffenburger Thomas <thomas.lauffenburger@edf.fr>
Wed, 24 Jan 2018 09:45:14 +0000 (10:45 +0100)
committerLauffenburger Thomas <thomas.lauffenburger@edf.fr>
Wed, 24 Jan 2018 09:45:14 +0000 (10:45 +0100)
src/engine/Bloc_impl.cxx

index cd0fec926f360e5ff0a295515e9cb58f7c2a7059..00ceff892bdf201b308e96d74709a7b4bef31347 100644 (file)
@@ -90,9 +90,9 @@ void Bloc::fitToPlayGround(const PlayGround *pg)
   this->accept(&vis);
   for(std::list<ForEachLoop *>::const_iterator it=vis._fes.begin();it!=vis._fes.end();it++)
     (*it)->edGetNbOfBranchesPort()->edInit(1);
+  this->removeRecursivelyRedundantCL();
   if (this->getMaxLevelOfParallelism() > pg->getNumberOfCoresAvailable())
     throw YACS::Exception("Bloc::fitToPlayGround : Not enough cores available to run the calculation !");
-  this->removeRecursivelyRedundantCL();
   this->partitionRegardingDPL(pd,zeMap);
   this->accept(&vis);
   for(std::list<ForEachLoop *>::const_iterator it=vis._fes.begin();it!=vis._fes.end();it++)