diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-12 20:44:46 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-12 20:44:46 -0400 |
commit | e0e181d2af4aff5ac6c253fe25737bf93bfb6996 (patch) | |
tree | 2529b3a51d012ced6c94c6f97e1c86284f9eecc9 /python/py_value.cc | |
parent | e6bea6c3ebfc0762543b7a8ed68719aaf3abff16 (diff) | |
download | fork-ledger-e0e181d2af4aff5ac6c253fe25737bf93bfb6996.tar.gz fork-ledger-e0e181d2af4aff5ac6c253fe25737bf93bfb6996.tar.bz2 fork-ledger-e0e181d2af4aff5ac6c253fe25737bf93bfb6996.zip |
Made (un)reduce rvalue methods more consistent
They names were changed from reduce/unreduce to reduced/unreduced, since
they return the modified value. This is more consistent with the naming
of rounded/rounded.
Diffstat (limited to 'python/py_value.cc')
-rw-r--r-- | python/py_value.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/py_value.cc b/python/py_value.cc index fa79009b..87a2f0cd 100644 --- a/python/py_value.cc +++ b/python/py_value.cc @@ -185,10 +185,10 @@ void export_value() .def("rounded", &value_t::rounded) .def("unrounded", &value_t::unrounded) - .def("reduce", &value_t::reduce) + .def("reduced", &value_t::reduced) .def("in_place_reduce", &value_t::in_place_reduce) - .def("unreduce", &value_t::unreduce) + .def("unreduced", &value_t::unreduced) .def("in_place_unreduce", &value_t::in_place_unreduce) .def("value", &value_t::value, value_overloads()) |