X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Frational.h;h=6bc5aec2edd6ec7edeffef62e64915c8e38b2306;hp=61a38ab76e305edf9caf45cb0eece53f57d06165;hb=836513d7874d20bec7247c6dfa8b3d2c426a71d4;hpb=b02dcbab39b8c28b9baa41436842ca9fe4ae7ffd diff --git a/src/rational.h b/src/rational.h index 61a38ab..6bc5aec 100644 --- a/src/rational.h +++ b/src/rational.h @@ -9,6 +9,7 @@ #include #include #include "arbint.h" +#include "gmpint.h" namespace IPDF { @@ -18,7 +19,7 @@ template T Tabs(const T & a) return abs(a); } template <> Arbint Tabs(const Arbint & a); - +template <> Gmpint Tabs(const Gmpint & a); /* Recursive version of GCD template