diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-07 09:49:17 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-07 09:49:17 -0400 |
commit | be6cef93c479056169ab499d03ea212ff22db435 (patch) | |
tree | fba78156e5187bd690f519846427284cdc0b0193 /src/report.cc | |
parent | ae8ab8106218167036ef386159450b56c328f1b9 (diff) | |
download | fork-ledger-be6cef93c479056169ab499d03ea212ff22db435.tar.gz fork-ledger-be6cef93c479056169ab499d03ea212ff22db435.tar.bz2 fork-ledger-be6cef93c479056169ab499d03ea212ff22db435.zip |
A further simplification of -V and -X
With -X COMM, all values are computed in terms of COMM, regardless.
With -V, only secondary commodities will ever be computed, never
primaries. Further, if a secondary commodities has an associated price,
the valuation is done in terms of that price's commodity.
Diffstat (limited to 'src/report.cc')
-rw-r--r-- | src/report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.cc b/src/report.cc index 2ce0ae73..680205fa 100644 --- a/src/report.cc +++ b/src/report.cc @@ -466,7 +466,7 @@ value_t report_t::fn_market(call_scope_t& scope) /* add_prices= */ false, moment); else - result = args.value_at(0).value(true, moment); + result = args.value_at(0).value(moment); if (! result.is_null()) return result; |