From 54991cc22e51733bfeadb1fdd8b3001b06df4d74 Mon Sep 17 00:00:00 2001 From: Oleg Bulatov Date: Thu, 5 May 2022 08:11:05 +0200 Subject: Fix unrounding for equity --- src/chain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chain.cc') diff --git a/src/chain.cc b/src/chain.cc index 7ac7d593..3a96f921 100644 --- a/src/chain.cc +++ b/src/chain.cc @@ -213,7 +213,7 @@ post_handler_ptr chain_post_handlers(post_handler_ptr base_handler, // day_of_week_posts is like period_posts, except that it reports // all the posts that fall on each subsequent day of the week. if (report.HANDLED(equity)) - handler.reset(new posts_as_equity(handler, report, expr)); + handler.reset(new posts_as_equity(handler, report, expr, report.HANDLED(unround))); else if (report.HANDLED(subtotal)) handler.reset(new subtotal_posts(handler, expr)); } -- cgit v1.2.3