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

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


The following commit has been merged in the cleanedupstream branch:
commit 3bab94930211883bada4851d178b4b5eb67b07f6
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Thu Feb 23 16:04:04 2012 +0100

    fix: allow blackbox within newstruct

diff --git a/Singular/newstruct.cc b/Singular/newstruct.cc
index 0090148..2197cfd 100644
--- a/Singular/newstruct.cc
+++ b/Singular/newstruct.cc
@@ -102,7 +102,8 @@ lists lCopy_newstruct(lists L)
     else if(L->m[n].rtyp>MAX_TOK)
     {
       N->m[n].rtyp=L->m[n].rtyp;
-      N->m[n].data=(void *)lCopy_newstruct((lists)(L->m[n].data));
+      blackbox *b=getBlackboxStuff(N->m[n].rtyp);
+      N->m[n].data=(void *)b->blackbox_Copy(b,L->m[n].data);
     }
     else
       N->m[n].Copy(&L->m[n]);

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list