added missing return when LBDB is off.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 16 Jun 2005 19:28:47 +0000 (19:28 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 16 Jun 2005 19:28:47 +0000 (19:28 +0000)
src/ck-ldb/CentralPredictor.C
src/ck-ldb/HybridBaseLB.C

index e08e7f9eefad7fe5fa7cb71b1d4ede318c2eaf67..ebe4f2dd1f00b7cfa069cb86ff2e76f2b36b392d 100644 (file)
@@ -221,8 +221,8 @@ bool Marquardt_solver(CentralLB::FutureModel *mod, int object) {
   delete[] y;
   delete[] temp;
 
-  return true;
 #endif
+  return true;
 }
 
 // routine that update LDStats given a predictor model
index ae93866a3c0aa419637e8b10013b95b352c84999..c694ddac65bce0e30ced555a7cdee6a3f8f24635 100644 (file)
@@ -556,6 +556,8 @@ LBVectorMigrateMsg* HybridBaseLB::VectorStrategy(LDStats* stats,int count)
     move->to_pe = lData->children[move->to_pe];
   }
   return msg;
+#else
+  return NULL;
 #endif
 }