Changeset 46008c in git


Ignore:
Timestamp:
Sep 24, 2011, 10:00:02 AM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
04eb121304780dd95e16025fdd49d7c60cd694e6
Parents:
6179c1fcdd2c1b21e040bdac6db37f0b3e0128b9
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-24 10:00:02+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:27+01:00
Message:
fix idMinors (Tst/Old/err3.tst)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r6179c1 r46008c  
    18961896  matrix b;
    18971897  ideal result,h;
    1898   ring origR;
     1898  ring origR=currRing;
    18991899  ring tmpR;
    19001900  long bound;
     
    19051905    return NULL;
    19061906  }
    1907   h = id_Matrix2Module(mp_Copy(a,currRing),currRing);
    1908   bound = sm_ExpBound(h,c,r,ar,currRing);
     1907  h = id_Matrix2Module(mp_Copy(a,origR),origR);
     1908  bound = sm_ExpBound(h,c,r,ar,origR);
    19091909  idDelete(&h);
    19101910  tmpR=sm_RingChange(origR,bound);
     
    19131913  {
    19141914    if (a->m[i])
    1915       b->m[i] = prCopyR(a->m[i],origR,currRing);
     1915      b->m[i] = prCopyR(a->m[i],origR,tmpR);
    19161916  }
    19171917  if (R!=NULL)
    19181918  {
    1919     R = idrCopyR(R,origR,currRing);
     1919    R = idrCopyR(R,origR,tmpR);
    19201920    //if (ar>1) // otherwise done in mpMinorToResult
    19211921    //{
     
    19261926  }
    19271927  result=idInit(32,1);
    1928   if(ar>1) mp_RecMin(ar-1,result,elems,b,r,c,NULL,R,currRing);
    1929   else mp_MinorToResult(result,elems,b,r,c,R,currRing);
     1928  if(ar>1) mp_RecMin(ar-1,result,elems,b,r,c,NULL,R,tmpR);
     1929  else mp_MinorToResult(result,elems,b,r,c,R,tmpR);
    19301930  idDelete((ideal *)&b);
    19311931  if (R!=NULL) idDelete(&R);
Note: See TracChangeset for help on using the changeset viewer.