summaryrefslogtreecommitdiff
path: root/src/chain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/chain.cc')
-rw-r--r--src/chain.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chain.cc b/src/chain.cc
index d33742a5..9155d4fa 100644
--- a/src/chain.cc
+++ b/src/chain.cc
@@ -93,6 +93,10 @@ post_handler_ptr chain_post_handlers(report_t& report,
handler.reset(new calc_posts(handler, expr));
}
+ // unround_posts will unround the amounts in all postings
+ if (report.HANDLED(unround))
+ handler.reset(new unround_posts(handler));
+
// filter_posts will only pass through posts matching the
// `secondary_predicate'.
if (report.HANDLED(only_)) {