Changeset 37e36e in git for libpolys/polys/simpleideals.cc


Ignore:
Timestamp:
Sep 26, 2011, 8:58:27 PM (13 years ago)
Author:
Burcin Erocal <burcin@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e9039a74ae2d173584dadd1c33af0b75e429a59b
Parents:
f16c61cbb635c326db5e37a9292edf4969b843a2
git-author:
Burcin Erocal <burcin@erocal.org>2011-09-26 20:58:27+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:35+01:00
Message:
Fix matrix index problem in id_Module2Matrix.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.cc

    rf16c61c r37e36e  
    12111211{
    12121212  matrix result = mpNew(mod->rank,IDELEMS(mod));
    1213   int i,cp;
     1213  long i,cp;
    12141214  poly p,h;
    12151215
     
    12231223      pIter(p);
    12241224      pNext(h)=NULL;
    1225 //      cp = si_max(1,pGetComp(h));     // if used for ideals too
    1226       cp = p_GetComp(h,R);
     1225      cp = si_max((long)1,p_GetComp(h, R));     // if used for ideals too
     1226      //cp = p_GetComp(h,R);
    12271227      p_SetComp(h,0,R);
    12281228      p_SetmComp(h,R);
Note: See TracChangeset for help on using the changeset viewer.