From: David Gow Date: Tue, 15 Jul 2014 13:10:05 +0000 (+0800) Subject: We should compile even if REAL is not 5 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a142272ddd5dfe41d9d895655513d705b9910e71;p=ipdf%2Fcode.git We should compile even if REAL is not 5 --- 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 }