Changeset f5a3a23 in git


Ignore:
Timestamp:
Aug 3, 2011, 2:55:15 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
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
Location:
Singular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.h

    rb50590 rf5a3a23  
    99*/
    1010#include <stdio.h>
    11 #include <kernel/structs.h>
    12 #include <kernel/febase.h>
     11//#include <kernel/structs.h>
    1312#include <kernel/ideals.h>
     13#include <Singular/lists.h>
    1414
    1515struct _ssubexpr;
  • 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]);
  • Singular/lists.h

    rb50590 rf5a3a23  
    4848};
    4949
     50typedef slists *           lists;
     51
    5052lists lCopy(lists L);
    5153lists lInsert0(lists ul, leftv v, int pos);
Note: See TracChangeset for help on using the changeset viewer.