aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.cpp b/types.cpp
index c782433..ead14b8 100644
--- a/types.cpp
+++ b/types.cpp
@@ -805,7 +805,7 @@ NumObj *RatNumObj::abs() {
#ifndef GMP_SUPPORT
return new RatNumObj((a > 0 ? a : -a), b);
#else
- return new RatNumObj(std::abs(val));
+ return new RatNumObj(::abs(val));
#endif
}
@@ -880,7 +880,7 @@ NumObj *IntNumObj::div(NumObj *_r) {
}
NumObj *IntNumObj::abs() {
- return new IntNumObj(std::abs(val));
+ return new IntNumObj(::abs(val));
}
NumObj *IntNumObj::rem(NumObj *_r) {