[singular] 25/45: fix NTL::negate namespace issue
felix salfelder
felix-guest at alioth.debian.org
Sat Sep 14 13:57:05 UTC 2013
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master-3-1-5
in repository singular.
commit a289754094dc34116cb2a65fbe388fee4daed6da
Author: Felix Salfelder <felix at salfelder.org>
Date: Sun Jul 14 08:55:12 2013 +0200
fix NTL::negate namespace issue
---
factory/cf_chinese.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/factory/cf_chinese.cc b/factory/cf_chinese.cc
index 2761c95..6ee8215 100644
--- a/factory/cf_chinese.cc
+++ b/factory/cf_chinese.cc
@@ -211,12 +211,12 @@ CanonicalForm Farey ( const CanonicalForm & f, const CanonicalForm & q )
ZZ NTLc= convertFacCF2NTLZZ (c);
bool lessZero= (sign (NTLc) == -1);
if (lessZero)
- negate (NTLc, NTLc);
+ NTL::negate (NTLc, NTLc);
ZZ NTLnum, NTLden;
if (ReconstructRational (NTLnum, NTLden, NTLc, NTLq, bound, bound))
{
if (lessZero)
- negate (NTLnum, NTLnum);
+ NTL::negate (NTLnum, NTLnum);
CanonicalForm num= convertNTLZZX2CF (to_ZZX (NTLnum), Variable (1));
CanonicalForm den= convertNTLZZX2CF (to_ZZX (NTLden), Variable (1));
On (SW_RATIONAL);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git
More information about the debian-science-commits
mailing list