]> git.donarmstrong.com Git - rsem.git/commitdiff
rsem v1.1.9
authorBo Li <bli@cs.wisc.edu>
Fri, 27 May 2011 18:32:45 +0000 (13:32 -0500)
committerBo Li <bli@cs.wisc.edu>
Fri, 27 May 2011 18:32:45 +0000 (13:32 -0500)
LenDist.h
calcCI.cpp

index 88366a61d0a741d65f5b3f524a69ad71ab33e5a8..d7b2ba33631dcca513f5acfe1ca6cde41f6daefc 100644 (file)
--- a/LenDist.h
+++ b/LenDist.h
@@ -177,13 +177,9 @@ void LenDist::setAsNormal(double mean, double sd, int minL, int maxL) {
   trim();
 }
 
-int bo = 0; // need delete
-  
 void LenDist::init() {
        memset(pdf, 0, sizeof(double) * (span + 1));
        memset(cdf, 0, sizeof(double) * (span + 1));
-
-       bo = 0;
 }
 
 void LenDist::finish() {
@@ -210,10 +206,6 @@ void LenDist::collect(const LenDist& o) {
          cdf = new double[span + 1];
          memset(pdf, 0, sizeof(double) * (span + 1));
          memset(cdf, 0, sizeof(double) * (span + 1));
-         
-         //need delete
-         ++bo;
-         assert(bo < 2);
        }
        for (int i = 1; i <= span; i++) {
                pdf[i] += o.pdf[i];
index c9ccce5909a2be59baabe8b3345232256e8a2da4..b5a26087d1bc9f240457a0249513d8fe6808d5d3 100644 (file)
@@ -382,12 +382,14 @@ int main(int argc, char* argv[]) {
 
        delete[] tau_denoms;
 
+       /*
        sprintf(command, "rm -f %s", tmpF);
        int status = system(command);
        if (status != 0) {
                fprintf(stderr, "Cannot delete %s!\n", tmpF);
                exit(-1);
        }
+       */
 
        return 0;
 }