Ignore:
Timestamp:
Feb 7, 2008, 9:41:00 AM (16 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'd0474371d8c5d8068ab70bfb42719c97936b18a6')
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/p_Minus_mm_Mult_qq__T.cc

    rbdd992 ra76e11  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: p_Minus_mm_Mult_qq__T.cc,v 1.7 2008-01-30 18:49:43 wienand Exp $
     9 *  Version: $Id: p_Minus_mm_Mult_qq__T.cc,v 1.8 2008-02-07 08:41:00 wienand Exp $
    1010 *******************************************************************/
    1111
     
    8888#ifdef HAVE_ZERODIVISORS
    8989  }
     90  else
     91  { // coeff itself is zero
     92    shorter += 1;
     93  }
    9094#endif
    9195  n_Delete(&tb, r);
     
    145149    }
    146150    else
     151    {
    147152      pNext(a) = r->p_Procs->pp_Mult_mm(q, m, r, last);
     153#ifdef HAVE_RINGS
     154      if (! rField_is_Domain(r))
     155      {
     156        shorter += pLength(q) - pLength(pNext(a));
     157      }
     158#endif
     159    }
    148160    pSetCoeff0(m, tm);
    149161  }
Note: See TracChangeset for help on using the changeset viewer.