doc: Add serial to list of ci file reserved words
[charm.git] / src / ck-ldb / RecBipartLB.C
index 99b8d3f15a35e67aefeeb5f9dc51c3fb742b5474..d4c9873c598285ab400eee9e9927cb99d9d50334 100644 (file)
@@ -200,11 +200,11 @@ void RecursiveBiPart(ObjGraph *ogr, vector<Vertex *> &pvertices, int parent, int
   //if the number of processors that this call has to deal with is 1, dont recurse any further
   if(nump==1)
   {
-    parray->procs[peno].setTotalLoad(0);
+    parray->procs[peno].totalLoad() = 0.0;
     for(int i=0;i<pvertices.size();i++)
     {
       pvertices[i]->setNewPe(peno);
-      parray->procs[peno].setTotalLoad(parray->procs[peno].getTotalLoad() + pvertices[i]->getVertexLoad());
+      parray->procs[peno].totalLoad() += pvertices[i]->getVertexLoad();
     }
     peno++;