changed compiler optimization flag, and added an additional function value check
This commit is contained in:
@ -930,7 +930,7 @@ bool PRunAsymmetry::PrepareViewData(PRawRunData* runData, unsigned int histoNo[2
|
||||
for (unsigned int i=0; i<size; i++) {
|
||||
time = startTime + (double)i*fTimeResolution;
|
||||
value = fTheory->Func(time, par, fFuncValues);
|
||||
if (value > 10.0) { // dirty hack needs to be fixed!!
|
||||
if (fabs(value) > 10.0) { // dirty hack needs to be fixed!!
|
||||
value = 0.0;
|
||||
}
|
||||
fData.fTheory.push_back(value);
|
||||
|
Reference in New Issue
Block a user