diff options
author | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:17:48 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-10-27 08:30:59 -0400 |
commit | 1f379eff70bf38e952e9ec1975d0598b0d2da495 (patch) | |
tree | cca3b2bd6a0f15633382a2f5d80b31363fa08d01 /src | |
parent | fd23b56a21ef2374538541599b82bdde3dbe1d18 (diff) | |
download | fork-ledger-1f379eff70bf38e952e9ec1975d0598b0d2da495.tar.gz fork-ledger-1f379eff70bf38e952e9ec1975d0598b0d2da495.tar.bz2 fork-ledger-1f379eff70bf38e952e9ec1975d0598b0d2da495.zip |
Fixed some debug code
Diffstat (limited to 'src')
-rw-r--r-- | src/value.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |