Changeset a76e11 in git for kernel/pp_Mult_nn__T.cc


Ignore:
Timestamp:
Feb 7, 2008, 9:41:00 AM (16 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
1e36c5c49e03ef1a34a6fa933337372c1c97d6f1
Parents:
bdd99204592e417c7486a7f8d51895e883e6197e
Message:
kutilc.cc: use pp_Mult_nn instead of copy and p_Mult_nn
p_Minus...: compute length correct
pp_Mult: return null in case of null


git-svn-id: file:///usr/local/Singular/svn/trunk@10567 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/pp_Mult_nn__T.cc

    rbdd992 ra76e11  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pp_Mult_nn__T.cc,v 1.7 2008-01-31 16:13:55 wienand Exp $
     9 *  Version: $Id: pp_Mult_nn__T.cc,v 1.8 2008-02-07 08:41:00 wienand Exp $
    1010 *******************************************************************/
    1111
     
    2222  if (p == NULL) return NULL;
    2323  spolyrec rp;
     24#ifdef HAVE_ZERODIVISORS
     25  rp.next = NULL;
     26#endif
    2427  poly q = &rp;
    2528  omBin bin = r->PolyBin;
     
    3740    number nc = pGetCoeff(p);
    3841    number tmp = n_Mult(n, nc, r);
    39     if (nIsZero(tmp))
     42    if (! nIsZero(tmp))
    4043    {
    4144      p_AllocBin(pNext(q), bin, r);
Note: See TracChangeset for help on using the changeset viewer.