Changeset 2ac52e in git


Ignore:
Timestamp:
May 21, 2014, 4:46:34 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
d3164ca160e3818318c66dd58ea2bf57a44a5147
Parents:
cdb69cbf8fbe6c0d249a439d3049448352edd0b0
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-05-21 16:46:34+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-05-21 16:48:50+02:00
Message:
fix: minAssChar(ideal(1))
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/primdec.lib

    rcdb69c r2ac52e  
    42584258                             // characteristic series
    42594259                             // this series may be empty (1x1: 1)
    4260   int i,j,k;
    4261   while ((nrows(m)==1)
     4260  int i,j,k,cnt;
     4261  while ((cnt<nvars(oldring))
     4262  && (nrows(m)==1)
    42624263  && (ncols(m)==1)
    42634264  && (m[1,1]==1)) // in case of an empty series: permute the variables
    42644265  {
     4266    cnt++;
    42654267    n=string(var(nvars(oldring)));
    42664268    for(i=1;i<nvars(oldring);i++) { n=n+","+string(var(i)); }
Note: See TracChangeset for help on using the changeset viewer.