From a142272ddd5dfe41d9d895655513d705b9910e71 Mon Sep 17 00:00:00 2001 From: David Gow Date: Tue, 15 Jul 2014 21:10:05 +0800 Subject: [PATCH] We should compile even if REAL is not 5 --- src/real.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/real.cpp b/src/real.cpp index ce2f976..96d8054 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -12,9 +12,11 @@ namespace IPDF "Rational" }; +#if REAL == REAL_RATIONAL_ARBINT template <> Gmpint Tabs(const Gmpint & a) { return a.Abs(); } +#endif } -- 2.20.1