From 071d23d821c680880e873752d37df980d173d355 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Sat, 22 Oct 2011 07:09:18 -0700 Subject: fixed bug 555, stats now properly reports postings per day --- src/stats.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stats.cc') diff --git a/src/stats.cc b/src/stats.cc index 172971aa..8899ddf5 100644 --- a/src/stats.cc +++ b/src/stats.cc @@ -88,8 +88,8 @@ value_t report_statistics(call_scope_t& args) out << " ("; out.precision(2); - out << (double((statistics.latest_post - statistics.earliest_post).days()) / - double(statistics.posts_count)) << _(" per day)") << std::endl; + out << (double(statistics.posts_count)/ + double((statistics.latest_post - statistics.earliest_post).days())) << _(" per day)") << std::endl; out << _(" Uncleared postings: "); out.width(6); -- cgit v1.2.3