[PPL-devel] [GIT] ppl/ppl(master): Variable name fixed.

Roberto Bagnara bagnara at cs.unipr.it
Fri Apr 6 12:46:11 CEST 2012


Module: ppl/ppl
Branch: master
Commit: 34fa558e18b00b28060b8da6ae6004c891440050
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=34fa558e18b00b28060b8da6ae6004c891440050

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Fri Apr  6 12:12:45 2012 +0200

Variable name fixed.

---

 src/Weight_Profiler.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Weight_Profiler.cc b/src/Weight_Profiler.cc
index 064a6d3..75c2795 100644
--- a/src/Weight_Profiler.cc
+++ b/src/Weight_Profiler.cc
@@ -47,7 +47,7 @@ void Weight_Profiler::output_stats() {
 		<< " max( " << stat[VALID].max << ")"
 		<< " average(" << average << ")";
       std::cout << " variance( " << variance << ")"
-		<< " stddev( " << sqrt(var) << ")";
+		<< " stddev( " << sqrt(variance) << ")";
     }
     if (stat[DISCARDED].samples > 0) {
       std::cout << " min_threshold( " << min_threshold << ")"




More information about the PPL-devel mailing list