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

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


The following commit has been merged in the cleanedupstream branch:
commit 79c6f7f4cec373f0d2db03a4292fe8f1a8721140
Author: Hans Schoenemann <hannes at mathematik.uni-kl.de>
Date:   Mon Mar 5 10:40:55 2012 +0100

    fix: shiftgb::p_mLPshift by Benjamin Schnitzler

diff --git a/kernel/shiftgb.cc b/kernel/shiftgb.cc
index 79083eb..29d2ba1 100644
--- a/kernel/shiftgb.cc
+++ b/kernel/shiftgb.cc
@@ -148,7 +148,7 @@ poly p_mLPshift(poly p, int sh, int uptodeg, int lV, const ring r)
   //  number c = pGetCoeff(p);
   //  p_SetCoeff0(m,p_GetCoeff(p,r),r);
   p_SetComp(m,p_GetComp(p,r),r); // component is preserved
-  p_SetCoeff0(m,p_GetCoeff(p,r),r);  // coeff is preserved
+  p_SetCoeff0(m,n_Copy(p_GetCoeff(p,r),r),r);  // coeff is preserved
   return(m);
 }
 

-- 
an open source computer algebra system



More information about the debian-science-commits mailing list