Changeset 97a7da2 in git


Ignore:
Timestamp:
Jan 24, 2015, 1:20:18 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
f999689a0462639ba7b739684fd5d5bf45a2cab3
Parents:
b67caf495ff6a195c2ad18c287338f99c3d4f78a
Message:
minor fixes: handling of attrib isSB
Location:
Singular/LIB
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/bimodules.lib

    rb67caf4 r97a7da2  
    722722  ideal J;
    723723  // determine whether I is a left Groebner basis
    724   if (attrib(I,"isSB") == 1)
     724  if (attrib(I,"isSB"))
    725725  {
    726726    J = I;
  • Singular/LIB/dmodvar.lib

    rb67caf4 r97a7da2  
    698698  int n = nvars(basering);
    699699  int c;
    700   if (attrib(I,"isSB") == 1)
     700  if (attrib(I,"isSB"))
    701701  {
    702702    c = n - dim(I);
  • Singular/LIB/homolog.lib

    rb67caf4 r97a7da2  
    534534  { // compute resolution via sres command
    535535    if( attrib(M,"isSB")==0 ) {
    536       if (size(M)==0) { attrib(M,"isSB")=1; }
    537       else { M=std(M); }
     536      M=std(M);
    538537    }
    539538    list resl = sres(M,max+1);
  • Singular/LIB/ring.lib

    rb67caf4 r97a7da2  
    10701070EXAMPLE: isSubModule; shows an example
    10711071{
    1072   if (attrib(J,"isSB")==1)
     1072  if (attrib(J,"isSB"))
    10731073  { return(size(reduce(I,J,1))==0); }
    10741074  else
Note: See TracChangeset for help on using the changeset viewer.