summaryrefslogtreecommitdiff
path: root/src/value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/value.cc')
-rw-r--r--src/value.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value.cc b/src/value.cc
index bcd00e0b..550ce8c7 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -243,7 +243,7 @@ void value_t::in_place_simplify()
DEBUG("ledger.value.reduce", "as an amount it looks like: " << *this);
}
-#if 0
+#ifdef REDUCE_TO_INTEGER // this is off by default
if (is_amount() && ! as_amount().has_commodity() &&
as_amount().fits_in_long()) {
DEBUG_("Reducing amount to integer");