]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/ElementaryPoint.cxx
Salome HOME
Optimized algo for PlayGround
[modules/yacs.git] / src / engine / ElementaryPoint.cxx
index aeef403b426173094037f4619f71196877483d75..7d161b9c2952cf7ec2a2813a8049d944a56409a3 100644 (file)
@@ -59,9 +59,9 @@ int ElementaryPoint::getMaxLevelOfParallelism() const
   return _node->getMaxLevelOfParallelism();
 }
 
-double ElementaryPoint::getWeightRegardingDPL() const
+void ElementaryPoint::getWeightRegardingDPL(ComplexWeight *weight)
 {
-  return _node->getWeightRegardingDPL();
+  _node->getWeightRegardingDPL(weight);
 }
 
 void ElementaryPoint::partitionRegardingDPL(const PartDefinition *pd, std::map<ComposedNode *, YACS::BASES::AutoRefCnt<PartDefinition> >& zeMap) const