New issue 164: infer_tolerance_from_cost broken
https://bitbucket.org/blais/beancount/issues/164/infer_tolerance_from_cost-broken
Jeremy Maitin-Shepard:
Some of the booking changes seem to have broken the infer_tolerance_from_cost option: it results in:
File "beancount/src/python/beancount/core/interpolate.py", line 209, in infer_tolerances
cost_tolerance = min(tolerance * cost_number, cost_tolerance)
TypeError: unsupported operand type(s) for *: 'decimal.Decimal' and 'type'
because cost_number is the special MISSING value.
The attached trivial patch seems to fix it.