Changeset 23c7a8 in git for kernel/syz.cc


Ignore:
Timestamp:
Aug 3, 2011, 3:26:08 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
3f07d198bf060a2be164d622a9aa6feb168223f2
Parents:
3ec6bba42dca1a1cd6971daf4c1fbcea0b60d81b
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 15:26:08+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:14+01:00
Message:
FIX: rGet/rSet*SyzComp() takes a ring argument
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r3ec6bba r23c7a8  
    420420  ring origR = currRing;
    421421  ring syz_ring = rCurrRingAssure_SyzComp();
    422   rSetSyzComp(rk_arg);
     422  rSetSyzComp(rk_arg, syz_ring);
    423423
    424424  if (syz_ring != origR)
     
    514514    {
    515515      int rkI=id_RankFreeModule(res[syzIndex],currRing);
    516       rSetSyzComp(rkI);
     516      rSetSyzComp(rkI, currRing);
    517517    }
    518518    if(! TEST_OPT_NO_SYZ_MINIM )
     
    598598      for (j=0; j<IDELEMS(res[i]); j++)
    599599      {
    600         p_Shift(&res[i]->m[j], -rGetMaxSyzComp(i),currRing);
     600        p_Shift(&res[i]->m[j], -rGetMaxSyzComp(i, currRing),currRing);
    601601      }
    602602    }
Note: See TracChangeset for help on using the changeset viewer.