From 1f379eff70bf38e952e9ec1975d0598b0d2da495 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 27 Oct 2009 08:17:48 -0400 Subject: Fixed some debug code --- src/value.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/value.cc b/src/value.cc index 17987bd7..5c5e09cb 100644 --- a/src/value.cc +++ b/src/value.cc @@ -254,7 +254,7 @@ value_t::sequence_t value_t::to_sequence() const void value_t::in_place_simplify() { #if defined(DEBUG_ON) - LOGGER("amounts.values.simplify"); + LOGGER("value.simplify"); #endif if (is_realzero()) { @@ -265,9 +265,9 @@ void value_t::in_place_simplify() if (is_balance() && as_balance().amounts.size() == 1) { DEBUG_("Reducing balance to amount"); - DEBUG("ledger.value.reduce", "as a balance it looks like: " << *this); + DEBUG_("as a balance it looks like: " << *this); in_place_cast(AMOUNT); - DEBUG("ledger.value.reduce", "as an amount it looks like: " << *this); + DEBUG_("as an amount it looks like: " << *this); } #ifdef REDUCE_TO_INTEGER // this is off by default -- cgit v1.2.3