From: Bo Li Date: Fri, 27 May 2011 18:32:45 +0000 (-0500) Subject: rsem v1.1.9 X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=commitdiff_plain;h=a7af78eba4c832c3dc7ff8cbabbd7770bbd015cd rsem v1.1.9 --- diff --git a/LenDist.h b/LenDist.h index 88366a6..d7b2ba3 100644 --- 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]; diff --git a/calcCI.cpp b/calcCI.cpp index c9ccce5..b5a2608 100644 --- a/calcCI.cpp +++ b/calcCI.cpp @@ -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; }