X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=calcCI.cpp;h=45c76838c150490240e24a8c215cb4d05069d203;hb=1d786dca8b4c9c1e2176a28a669d2d16cd93e395;hp=dbfe53a3bdcd9fe7d84478715fd9d4625846bbc2;hpb=9c2e46183a19d661f0a618a8eabe8ce1f6a8e2d6;p=rsem.git diff --git a/calcCI.cpp b/calcCI.cpp index dbfe53a..45c7683 100644 --- a/calcCI.cpp +++ b/calcCI.cpp @@ -138,7 +138,7 @@ void* sample_theta_from_c(void* arg) { for (int i = 0; i < nSpC; i++) { double sum = 0.0; for (int j = 0; j <= M; j++) { - theta[j] = ((j == 0 || eel[j] >= EPSILON && mw[j] >= EPSILON) ? (*rgs[j])() / mw[j] : 0.0); + theta[j] = ((j == 0 || (eel[j] >= EPSILON && mw[j] >= EPSILON)) ? (*rgs[j])() / mw[j] : 0.0); sum += theta[j]; } assert(sum >= EPSILON);