From 5e3f3d7f4730dd2990b6b56352e4a09cdde9a234 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 5 Nov 2009 17:40:07 -0500 Subject: Report sought magnitude when balancing errors occur --- src/py_balance.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/py_balance.cc') diff --git a/src/py_balance.cc b/src/py_balance.cc index 60df1317..73049c99 100644 --- a/src/py_balance.cc +++ b/src/py_balance.cc @@ -209,6 +209,8 @@ void export_balance() .def("commodity_amount", py_commodity_amount_0) .def("commodity_amount", py_commodity_amount_1) + .def("number", &balance_t::number) + .def("strip_annotations", &balance_t::strip_annotations) .def("valid", &balance_t::valid) -- cgit v1.2.3