X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Freal.cpp;h=ce2f976e02900a88ebb339417cd39e39b5977a09;hp=83b3fb8b13f57e1a849ecfa2ef8d6ce6ac4fec58;hb=e8e6ff92ef0978cbec24dd69a85dbf1bd81681ad;hpb=8c88a35a1fb0dfc9e542bb1a1c13c5f3e36eb3e5 diff --git a/src/real.cpp b/src/real.cpp index 83b3fb8..ce2f976 100644 --- a/src/real.cpp +++ b/src/real.cpp @@ -11,5 +11,10 @@ namespace IPDF "Rational", "Rational" }; + + template <> Gmpint Tabs(const Gmpint & a) + { + return a.Abs(); + } }