]> git.donarmstrong.com Git - rsem.git/blobdiff - calcCI.cpp
- Added poly(A) tails to 'reference_name.transcripts.fa' so that the RSEM generated...
[rsem.git] / calcCI.cpp
index dbfe53a3bdcd9fe7d84478715fd9d4625846bbc2..45c76838c150490240e24a8c215cb4d05069d203 100644 (file)
@@ -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);