summaryrefslogtreecommitdiff
path: root/python/py_value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/py_value.cc')
-rw-r--r--python/py_value.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/py_value.cc b/python/py_value.cc
index 4156ee44..48cd0feb 100644
--- a/python/py_value.cc
+++ b/python/py_value.cc
@@ -195,8 +195,10 @@ void export_value()
.def("abs", &value_t::abs)
.def("__abs__", &value_t::abs)
+#ifdef INTEGER_MATH
.def("round", &value_t::round)
.def("in_place_round", &value_t::in_place_round)
+#endif
.def("unround", &value_t::unround)
.def("reduce", &value_t::reduce)