fix the beta/fun bug in Asymmetry, Asymmetry RRF, and beta-NMR Asymmetry Fit.
Build and Deploy Documentation / build-and-deploy (push) Successful in 24s
Build and Deploy Documentation / build-and-deploy (push) Successful in 24s
This commit is contained in:
@@ -1345,7 +1345,7 @@ bool PMsr2Data::PrepareGlobalInputFile(unsigned int tempRun, const std::string &
|
||||
}
|
||||
}
|
||||
tempPar = msrRunList->at(i).GetAlphaParamNo();
|
||||
if (tempPar > 0) {
|
||||
if ((tempPar > 0) && (tempPar < MSR_PARAM_FUN_OFFSET)) { // if alpha is given by a function we do not have to care about it here!
|
||||
if (msrParamList->at(tempPar-1).fIsGlobal) { // alpha of RUN block i is global
|
||||
msrRunList->at(i).SetParGlobal(alpha, 1);
|
||||
} else {
|
||||
@@ -1353,7 +1353,7 @@ bool PMsr2Data::PrepareGlobalInputFile(unsigned int tempRun, const std::string &
|
||||
}
|
||||
}
|
||||
tempPar = msrRunList->at(i).GetBetaParamNo();
|
||||
if (tempPar > 0) {
|
||||
if ((tempPar > 0) && (tempPar < MSR_PARAM_FUN_OFFSET)) { // if beta is given by a function we do not have to care about it here!
|
||||
if (msrParamList->at(tempPar-1).fIsGlobal) { // beta of RUN block i is global
|
||||
msrRunList->at(i).SetParGlobal(beta, 1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user