Changeset 38500a in git for libpolys/polys/templates/p_Mult_nn__T.cc
- Timestamp:
- Feb 2, 2011, 6:07:23 PM (13 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 4581a96e8a3be34bc5a0c30e5cc4415cf45006fc
- Parents:
- 35eaf8ae5934ce9436edde9d1dca609b9055264d
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-02-02 18:07:23+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:27+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/templates/p_Mult_nn__T.cc
r35eaf8 r38500a 17 17 * 18 18 ***************************************************************/ 19 LINKAGE poly p_Mult_nn (poly p, const number n, const ring r)19 LINKAGE poly p_Mult_nn__T(poly p, const number n, const ring r) 20 20 { 21 pAssume(!n_IsZero (n,r));21 pAssume(!n_IsZero__T(n,r)); 22 22 p_Test(p, r); 23 23 … … 29 29 { 30 30 #ifndef HAVE_ZERODIVISORS 31 n_InpMult (pGetCoeff(p), n, r);31 n_InpMult__T(pGetCoeff(p), n, r); 32 32 pIter(p); 33 33 #else 34 number tmp = n_Mult (n, pGetCoeff(p), r);34 number tmp = n_Mult__T(n, pGetCoeff(p), r); 35 35 if (!nIsZero(tmp)) 36 36 { 37 37 number nc = pGetCoeff(p); 38 38 p_SetCoeff0(p, tmp, r); 39 n_Delete (&nc, r);39 n_Delete__T(&nc, r); 40 40 old = p; 41 41 pIter(p); … … 43 43 else 44 44 { 45 n_Delete (&tmp, r);45 n_Delete__T(&tmp, r); 46 46 if (old == NULL) 47 47 {
Note: See TracChangeset
for help on using the changeset viewer.