*** no comment ***

This commit is contained in:
John Wiegley 2006-03-04 09:56:51 +00:00
parent 7a965565cf
commit 770ef0e183

View file

@ -100,7 +100,7 @@ class balance_t
if (i != amounts.end())
(*i).second -= amt;
else if (amt)
amounts.insert(amounts_pair(&amt.commodity(), amt));
amounts.insert(amounts_pair(&amt.commodity(), - amt));
return *this;
}
template <typename T>