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

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


The following commit has been merged in the cleanedupstream branch:
commit 54560656e381a08073bdd57d98da01b7997e4f50
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Thu Mar 29 17:44:44 2012 +0200

    fix: special hanndling of proc calls

diff --git a/Singular/iparith.cc b/Singular/iparith.cc
index 77fe328..12400ed 100644
--- a/Singular/iparith.cc
+++ b/Singular/iparith.cc
@@ -7478,7 +7478,7 @@ BOOLEAN iiExprArith2(leftv res, leftv a, int op, leftv b, BOOLEAN proccall)
       if (bb!=NULL) return bb->blackbox_Op2(op,res,a,b);
       else          return TRUE;
     }
-    else if (bt>MAX_TOK)
+    else if ((bt>MAX_TOK)&&(op!='('))
     {
       blackbox *bb=getBlackboxStuff(bt);
       if (bb!=NULL) return bb->blackbox_Op2(op,res,a,b);

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list