summaryrefslogtreecommitdiff
path: root/src/stats.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-10-24 13:20:08 -0700
committerJohn Wiegley <johnw@newartisans.com>2011-10-24 13:20:08 -0700
commit5bf447198163505296b2843441b93165d865b16e (patch)
tree14dab4f113a37672caaf4b4d34b25fb59b32a7a2 /src/stats.cc
parent24d6619a52d1239f4df3371e4ef69e4a8fd930a1 (diff)
parent071d23d821c680880e873752d37df980d173d355 (diff)
downloadfork-ledger-5bf447198163505296b2843441b93165d865b16e.tar.gz
fork-ledger-5bf447198163505296b2843441b93165d865b16e.tar.bz2
fork-ledger-5bf447198163505296b2843441b93165d865b16e.zip
Merge pull request #41 from enderw88/next
New draft of documentation
Diffstat (limited to 'src/stats.cc')
-rw-r--r--src/stats.cc4
1 files changed, 2 insertions, 2 deletions
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);