Changeset 38500a in git for libpolys/polys/templates/p_Mult_mm__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_mm__T.cc
r35eaf8 r38500a 17 17 * 18 18 ***************************************************************/ 19 LINKAGE poly p_Mult_mm (poly p, const poly m, const ring ri)19 LINKAGE poly p_Mult_mm__T(poly p, const poly m, const ring ri) 20 20 { 21 21 p_Test(p, ri); … … 28 28 DECLARE_LENGTH(const unsigned long length = ri->ExpL_Size); 29 29 const unsigned long* m_e = m->exp; 30 pAssume(!n_IsZero (ln,ri));30 pAssume(!n_IsZero__T(ln,ri)); 31 31 32 32 #ifdef HAVE_ZERODIVISORS … … 36 36 { 37 37 pn = pGetCoeff(p); 38 number tmp = n_Mult (ln, pn, ri);38 number tmp = n_Mult__T(ln, pn, ri); 39 39 #ifdef HAVE_ZERODIVISORS 40 if (n_IsZero (tmp, ri))40 if (n_IsZero__T(tmp, ri)) 41 41 { 42 n_Delete (&tmp, ri);42 n_Delete__T(&tmp, ri); 43 43 if (before == p) 44 44 { … … 57 57 { 58 58 pSetCoeff0(p, tmp); 59 n_Delete (&pn, ri);60 p_MemAdd (p->exp, m_e, length);61 p_MemAddAdjust (p, ri);59 n_Delete__T(&pn, ri); 60 p_MemAdd__T(p->exp, m_e, length); 61 p_MemAddAdjust__T(p, ri); 62 62 #ifdef HAVE_ZERODIVISORS 63 63 before = p;
Note: See TracChangeset
for help on using the changeset viewer.