Changeset 1b420fd in git


Ignore:
Timestamp:
Aug 3, 2011, 7:29:37 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
f218a7daf5f60792a940256fb8358b13d4d85ef3
Parents:
36dd348c07984f48c3bf7582c5f05be7aa4ea52e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 19:29:37+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:21+01:00
Message:
FIX: ideal/polynomial projections
Location:
kernel
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r36dd34 r1b420fd  
    424424  if (syz_ring != origR)
    425425  {
    426     res[0] = idrCopyR_NoSort(arg, origR);
     426    rChangeCurrRing(syz_ring);
     427    res[0] = idrCopyR_NoSort(arg, origR, syz_ring);
    427428  }
    428429  else
     
    605606  if (origR != syz_ring)
    606607  {
    607     rChangeCurrRing(origR);
     608    rChangeCurrRing(origR); // should not be needed now?
    608609    for (i=0; i<=syzIndex; i++)
    609610    {
    610       res[i] = idrMoveR_NoSort(res[i], syz_ring);
     611      res[i] = idrMoveR_NoSort(res[i], syz_ring, origR);
    611612    }
    612613    rKill(syz_ring);
  • kernel/syz0.cc

    r36dd34 r1b420fd  
    918918          for (i=0; i<IDELEMS(res[1]); i++)
    919919          {
    920             res[1]->m[i] = prMoveR( res[1]->m[i], origR);
     920            res[1]->m[i] = prMoveR( res[1]->m[i], origR, syRing);
    921921          }
    922922        }
     
    931931          for (i=0; i<IDELEMS(res[0]); i++)
    932932          {
    933             res[0]->m[i] = prMoveR( res[0]->m[i], origR);
     933            res[0]->m[i] = prMoveR( res[0]->m[i], origR, syRing);
    934934          }
    935935        }
     
    970970        if (res[syzIndex]->m[i])
    971971        {
    972           res[syzIndex]->m[i] = prMoveR( res[syzIndex]->m[i], syRing);
     972          res[syzIndex]->m[i] = prMoveR( res[syzIndex]->m[i], syRing, origR);
    973973        }
    974974      }
  • kernel/syz1.cc

    r36dd34 r1b420fd  
    16871687            {
    16881688              if (origR!=NULL)
    1689                 tq = prHeadR(p,origR);
     1689                tq = prHeadR(p,origR, currRing);
    16901690              else
    16911691                tq = pHead(p);
     
    17001700                pIter(p);
    17011701                pNext(pp)=NULL;
    1702                 tq = prMoveR(pp, origR);
     1702                tq = prMoveR(pp, origR, currRing);
    17031703              }
    17041704              else
     
    17341734          {
    17351735            if (toCopy)
    1736               fullres[i-1]->m[j] = prCopyR(res[i]->m[j], origR);
     1736              fullres[i-1]->m[j] = prCopyR(res[i]->m[j], origR, currRing);
    17371737            else
    17381738            {
    1739               fullres[i-1]->m[j] = prMoveR(res[i]->m[j], origR);
     1739              fullres[i-1]->m[j] = prMoveR(res[i]->m[j], origR, currRing);
    17401740              res[i]->m[j] = NULL;
    17411741            }
     
    24852485  for (i=0;i<IDELEMS(arg);i++)
    24862486  {
    2487     temp->m[i] = prCopyR( arg->m[i], origR);
     2487    temp->m[i] = prCopyR( arg->m[i], origR, syzstr->syRing);
    24882488    if (temp->m[i]!=NULL)
    24892489    {
     
    26272627  for (i=0;i<IDELEMS(arg);i++)
    26282628  {
    2629     temp->m[i] = prCopyR( arg->m[i], origR);
     2629    temp->m[i] = prCopyR( arg->m[i], origR, currRing);
    26302630    if (temp->m[i]!=NULL)
    26312631    {
  • kernel/syz2.cc

    r36dd34 r1b420fd  
    10021002  {
    10031003    if (origR != syzstr->syRing)
    1004       temp->m[i] = prCopyR( arg->m[i], origR);
     1004      temp->m[i] = prCopyR( arg->m[i], origR, syzstr->syRing);
    10051005    else
    10061006      temp->m[i] = pCopy( arg->m[i]);
  • kernel/syz3.cc

    r36dd34 r1b420fd  
    17711771  syzstr->regularity = -1;
    17721772  if (origR!=syzstr->syRing)
    1773     temp = idrCopyR(arg,origR);
     1773    temp = idrCopyR(arg, origR, syzstr->syRing);
    17741774  else
    17751775    temp = idCopy(arg);
     
    20162016    while ((index<=*length) && (syzstr->fullres[index]!=NULL))
    20172017    {
    2018       syzstr->fullres[index] = idrMoveR(syzstr->fullres[index],syzstr->syRing);
     2018      syzstr->fullres[index] = idrMoveR(syzstr->fullres[index],syzstr->syRing, origR);
    20192019      index++;
    20202020    }
Note: See TracChangeset for help on using the changeset viewer.