Skip to content
Snippets Groups Projects
Commit e9a3e147 authored by Bertram Kopf's avatar Bertram Kopf
Browse files

bug fix in method AppBae::calcAndSendClientLh

parent ce4baccd
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,7 @@ void AppBase::printFitResult(FunctionMinimum& min, fitParams& theStartparams, st
bool AppBase::calcAndSendClientLh(NetworkClient& theClient, fitParams& theStartparams){
while(true){
if(!theClient.WaitForParams()) return false;
const std::vector<double> currentParamVec=theClient.GetParams();
......@@ -258,6 +259,7 @@ bool AppBase::calcAndSendClientLh(NetworkClient& theClient, fitParams& theStartp
_absLhPtr->calcLogLhDataClient(currentFitParams, theLHData);
if(!theClient.SendLH(theLHData.logLH_data, theLHData.weightSum, theLHData.LH_mc)) return false;
return true;
}
return true;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment