From 3d19bccb93207fc59065b20304ff47ff969e2f37 Mon Sep 17 00:00:00 2001 From: Sascha Bischoff Date: Thu, 27 Jun 2013 05:49:49 -0400 Subject: [PATCH] stats: Remove printing of SparseHist total This patch removes the printing of the SparseHist total in the stats.txt output file. This has been removed as a sparse histogram has no total, and therefore this was printing out the value of a non-local, unrelated variable. --- src/base/stats/text.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 86f657e6e..3909c96ed 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -686,13 +686,6 @@ SparseHistPrint::operator()(ostream &stream) const print.value = (*it).second; print(stream); } - - print.pdf = NAN; - print.cdf = NAN; - - print.name = base + "total"; - print.value = total; - print(stream); } void -- 2.30.2