Changeset cea6f3 in git for kernel/pp_Mult_nn__T.cc
- Timestamp:
- Jan 13, 2006, 7:10:06 PM (18 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- 2e4de3d33d0bea3780e1932fdaf8a41c161f473e
- Parents:
- 4cbb61ba5014a593b9bc6569b497e9a8151bc15f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/pp_Mult_nn__T.cc
r4cbb61 rcea6f3 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pp_Mult_nn__T.cc,v 1. 1.1.1 2003-10-06 12:16:02 SingularExp $9 * Version: $Id: pp_Mult_nn__T.cc,v 1.2 2006-01-13 18:10:05 wienand Exp $ 10 10 *******************************************************************/ 11 11 … … 28 28 do 29 29 { 30 p_AllocBin(pNext(q), bin, r);31 q = pNext(q);32 30 number nc = pGetCoeff(p); 33 pSetCoeff0(q, n_Mult(n, nc, r)); 34 p_MemCopy(q->exp, p->exp, length); 31 number tmp = n_Mult(n, nc, r); 32 #ifdef HAVE_RING2TOM 33 if (r->cring==0 || (r->cring ==1 && (long) tmp != 0)){ 34 #endif 35 p_AllocBin(pNext(q), bin, r); 36 q = pNext(q); 37 pSetCoeff0(q, tmp); 38 p_MemCopy(q->exp, p->exp, length); 39 #ifdef HAVE_RING2TOM 40 } 41 #endif 35 42 pIter(p); 36 43 }
Note: See TracChangeset
for help on using the changeset viewer.