Changeset 9524c6 in git for kernel/kutil.cc


Ignore:
Timestamp:
Jan 10, 2010, 7:13:13 PM (14 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a7efc97c0d636c4ac16905a63a689e9aa48c7c02
Parents:
1917954077415ad882f163afeda18057b8a08f66
Message:
Function to generate pairs necessary to create a strong standard base weren't ready for modules (i.e. components). This fixes #191.

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

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    r191795 r9524c6  
    29172917void initenterstrongPairs (poly h,int k,int ecart,int isFromQ,kStrategy strat, int atR = -1)
    29182918{
    2919 
     2919  const int iCompH = pGetComp(h);
    29202920  if (!nIsOne(pGetCoeff(h)))
    29212921  {
     
    29282928//      if (((unsigned long) pGetCoeff(h) % (unsigned long) pGetCoeff(strat->S[j]) != 0) &&
    29292929//         ((unsigned long) pGetCoeff(strat->S[j]) % (unsigned long) pGetCoeff(h) != 0))
    2930       {
    2931         if (enterOneStrongPoly(j,h,ecart,isFromQ,strat, atR))
    2932           new_pair=TRUE;
     2930      if ( iCompH == pGetComp(strat->S[k]) )
     2931      {
     2932        {
     2933          if (enterOneStrongPoly(j,h,ecart,isFromQ,strat, atR))
     2934            new_pair=TRUE;
     2935        }
    29332936      }
    29342937    }
Note: See TracChangeset for help on using the changeset viewer.