From: Bo Li <bli@cs.wisc.edu>
Date: Fri, 13 Apr 2012 21:30:33 +0000 (-0500)
Subject: Fixed a bug related to intermediate output displaying in EM.cpp
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=543f20967e693ef9150eddc94e7869ed04bad962;p=rsem.git

Fixed a bug related to intermediate output displaying in EM.cpp
---

diff --git a/EM.cpp b/EM.cpp
index e106335..2ce946f 100644
--- a/EM.cpp
+++ b/EM.cpp
@@ -412,7 +412,7 @@ void EM() {
 	double sum;
 
 	double bChange = 0.0, change = 0.0; // bChange : biggest change
-	READ_INT_TYPE totNum = 0;
+	int totNum = 0;
 
 	ModelType model(mparams); //master model
 	ReadReader<ReadType> **readers;
@@ -507,7 +507,7 @@ void EM() {
 				if (bChange < change) bChange = change;
 			}
 
-		if (verbose) { cout<< "ROUND = "<< ROUND<< ", SUM = "<< setprecision(15)<< sum<< ", bChange = " << setprecision(6)<< bChange<< ", totNum = %" << totNum<< endl; }
+		if (verbose) { cout<< "ROUND = "<< ROUND<< ", SUM = "<< setprecision(15)<< sum<< ", bChange = " << setprecision(6)<< bChange<< ", totNum = " << totNum<< endl; }
 	} while (ROUND < MIN_ROUND || (totNum > 0 && ROUND < MAX_ROUND));
 //	} while (ROUND < 1);