diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-15 22:55:17 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-15 22:55:17 +0100 |
commit | 49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4 (patch) | |
tree | e0769c9a4c03946557c6a6fb5751553e8aa780aa /src/amount.cc | |
parent | e97b59b0061f271476cdaf959f9530f4d737864b (diff) | |
download | fork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.tar.gz fork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.tar.bz2 fork-ledger-49f5465adb2d71ad7a8ecf4e5c974b2b2c4721f4.zip |
Temporarily stubbed out an inaccurate assert
Diffstat (limited to 'src/amount.cc')
-rw-r--r-- | src/amount.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amount.cc b/src/amount.cc index ee241796..9dea532c 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -1062,8 +1062,10 @@ void amount_t::print(std::ostream& _out) const bool amount_t::valid() const { if (quantity) { - if (! quantity->valid()) + if (! quantity->valid()) { + DEBUG("ledger.validate", "amount_t: ! quantity->valid()"); return false; + } if (quantity->ref == 0) { DEBUG("ledger.validate", "amount_t: quantity->ref == 0"); |