Changeset d351d8 in git for kernel/kutil.cc


Ignore:
Timestamp:
Jul 7, 2008, 2:21:43 PM (16 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5213495c7848b41c2054e3b3f459b68bb4b7de04
Parents:
d81b79a04dd97fbb40df1b3a823019d92d8987a7
Message:
* nComp --> nDivComp
* ring definition like decided during meeting
* initstrattailring for gcd poly adapted


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

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    rd81b79 rd351d8  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.95 2008-07-04 16:17:15 motsak Exp $ */
     4/* $Id: kutil.cc,v 1.96 2008-07-07 12:21:42 wienand Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    11061106  {
    11071107    compare=pDivCompRing(strat->B[j].lcm,Lp.lcm);
    1108     compareCoeff = nComp(pGetCoeff(strat->B[j].lcm), pGetCoeff(Lp.lcm));
     1108    compareCoeff = nDivComp(pGetCoeff(strat->B[j].lcm), pGetCoeff(Lp.lcm));
    11091109    if (compareCoeff == 0 || compare == compareCoeff)
    11101110    {
     
    22352235  {
    22362236    compare=pDivCompRing(strat->B[j].lcm,Lp.lcm);
    2237     compareCoeff = nComp(pGetCoeff(strat->B[j].lcm), pGetCoeff(Lp.lcm));
     2237    compareCoeff = nDivComp(pGetCoeff(strat->B[j].lcm), pGetCoeff(Lp.lcm));
    22382238    if (compareCoeff == 0 || compare == compareCoeff)
    22392239    {
     
    58895889    l = p_GetMaxExpL(strat->T[i].p, currRing, l);
    58905890  }
     5891  if (rField_is_Ring(currRing))
     5892  {
     5893    l += 20; // TEMP, TODO OLI
     5894    l *= 2;
     5895  }
    58915896  e = p_GetMaxExp(l, currRing);
    58925897  if (e <= 1) e = 2;
Note: See TracChangeset for help on using the changeset viewer.