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

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


The following commit has been merged in the cleanedupstream branch:
commit 24a2fadbf353303f1a6ef47beb60a0bd1cac195f
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Tue Feb 28 18:32:43 2012 +0100

    fix: qring for rings with cf=ring

diff --git a/Singular/ipassign.cc b/Singular/ipassign.cc
index a98d1e9..3309b0e 100644
--- a/Singular/ipassign.cc
+++ b/Singular/ipassign.cc
@@ -608,10 +608,11 @@ static BOOLEAN jiA_QRING(leftv res, leftv a,Subexpr e)
 #ifdef HAVE_RINGS
   if (rField_is_Ring(currRing))
   {
-    int constIndex = idPosConstant(id);
-    if (constIndex != -1)
-    WerrorS("ideal contains constant; please modify ground field/ring instead");
-    return TRUE;
+    if (idPosConstant(id) != -1)
+    {
+      WerrorS("constant in q-ideal; please modify ground field/ring instead");
+      return TRUE;
+    }
   }
 #endif
 

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list