Changeset abe5c8 in git for libpolys/polys/templates/p_Minus_mm_Mult_qq__T.cc
- Timestamp:
- Sep 24, 2012, 12:41:08 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f224d8590b63be01aff8b548ab4f2f5dea43b095
- Parents:
- 1592b986a21bcaba5633414189a7b08c5cce6213
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/templates/p_Minus_mm_Mult_qq__T.cc
r1592b9 rabe5c8 17 17 * 18 18 ***************************************************************/ 19 LINKAGE poly p_Minus_mm_Mult_qq__T(poly p, poly m, poly q, int& Shorter, const poly spNoether, const ring r , poly &last)19 LINKAGE poly p_Minus_mm_Mult_qq__T(poly p, poly m, poly q, int& Shorter, const poly spNoether, const ring r) 20 20 { 21 21 p_Test(p, r); … … 134 134 { 135 135 pNext(a) = p; 136 if (p == NULL) last = a;137 136 } 138 137 else // append (- m*q) to result 139 138 { 140 139 pSetCoeff0(m, tneg); 141 last = a;142 140 if (spNoether != NULL) 143 141 { 144 142 int ll = 0; 145 pNext(a) = r->p_Procs->pp_Mult_mm_Noether(q, m, spNoether, ll, r , last);143 pNext(a) = r->p_Procs->pp_Mult_mm_Noether(q, m, spNoether, ll, r); 146 144 shorter += ll; 147 145 } 148 146 else 149 147 { 150 pNext(a) = r->p_Procs->pp_Mult_mm(q, m, r , last);148 pNext(a) = r->p_Procs->pp_Mult_mm(q, m, r); 151 149 #ifdef HAVE_RINGS 152 150 if (! rField_is_Domain(r))
Note: See TracChangeset
for help on using the changeset viewer.