Changeset f5a3a23 in git for Singular/lists.cc


Ignore:
Timestamp:
Aug 3, 2011, 2:55:15 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
3342df1a96f6513ccd51901066e6cb096c2c9780
Parents:
b5059070fb3e86c343e54cf4c5ef9c6f737a0230
git-author:
Martin Lee <martinlee84@web.de>2011-08-03 14:55:15+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:02:30+01:00
Message:
added typedef lists from kernel/structs.h to lists.h
changed pVariables to currRing->N and idRankFreeModule(arg) to id_RankFreeModule(arg,currRing) in lists.cc
added include lists.h to ipshell.h and commented out include structs.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/lists.cc

    rb50590 rf5a3a23  
    218218    int oldlength=length;
    219219    while (r[length-1]==NULL) length--;
    220     if (reallen<=0) reallen=pVariables;
     220    if (reallen<=0) reallen=currRing->N;
    221221    reallen=si_max(reallen,length);
    222222    L->Init(reallen);
     
    250250          else
    251251          {
    252             r[i]->rank=si_max(rank,(int)idRankFreeModule(r[i]));
     252            r[i]->rank=si_max(rank,(int)id_RankFreeModule(r[i], currRing));
    253253          }
    254254          idSkipZeroes(r[i]);
Note: See TracChangeset for help on using the changeset viewer.