We should compile even if REAL is not 5
[ipdf/code.git] / src / real.cpp
index ce2f976..96d8054 100644 (file)
@@ -12,9 +12,11 @@ namespace IPDF
                "Rational<Arbint>"
        };
        
+#if REAL == REAL_RATIONAL_ARBINT
        template <> Gmpint Tabs(const Gmpint & a)
        {
                return a.Abs();
        }
+#endif
 
 }

UCC git Repository :: git.ucc.asn.au