[SCM] an open source computer algebra system branch, cleanedupstream, updated. 6125e540ca6d66c307958938a9d53b245507c323

Bernhard R. Link brlink at debian.org
Tue Apr 24 15:54:01 UTC 2012


The following commit has been merged in the cleanedupstream branch:
commit dd5977ed152c63f620e67a2538e836ae0aded214
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Wed Mar 7 14:51:38 2012 +0100

    fix: ticket:400 vraiables(ideal i) for i containing entries==0

diff --git a/Singular/ipshell.cc b/Singular/ipshell.cc
index fee9a92..8b12466 100644
--- a/Singular/ipshell.cc
+++ b/Singular/ipshell.cc
@@ -5492,7 +5492,8 @@ BOOLEAN jjVARIABLES_ID(leftv res, leftv u)
   int n=0;
   for(i=I->nrows*I->ncols-1;i>=0;i--)
   {
-    n=pGetVariables(I->m[i],e);
+    int n0= pGetVariables(I->m[i],e);
+    if (n0>n) n=n0;
   }
   jjINT_S_TO_ID(n,e,res);
   return FALSE;

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list