git.ucc.asn.au
/
ipdf
/
code.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffd290c
)
We should compile even if REAL is not 5
author
David Gow
<
[email protected]
>
Tue, 15 Jul 2014 13:10:05 +0000
(21:10 +0800)
committer
David Gow
<
[email protected]
>
Tue, 15 Jul 2014 13:10:05 +0000
(21:10 +0800)
src/real.cpp
patch
|
blob
|
history
diff --git
a/src/real.cpp
b/src/real.cpp
index
ce2f976
..
96d8054
100644
(file)
--- a/
src/real.cpp
+++ b/
src/real.cpp
@@
-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