Changeset a33befb in git


Ignore:
Timestamp:
Jun 30, 2010, 4:49:01 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
c6f736b9c03883f339ee22b726f8ecac0c63f052
Parents:
0dd77c21021822c8a0b9b85d28d147e940da5728
Message:
Cosmetic changes to displays



git-svn-id: file:///usr/local/Singular/svn/trunk@12933 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/sheafcoh.lib

    r0dd77c2 ra33befb  
    639639  int shift = attrib(Betti,"rowShift") + (k + ell - 1);
    640640
    641   intmat newBetti[ n + 1 ][ h - l + 1 ];
    642 
     641  int iWTH = h-l+1;
     642
     643  int d = k - h + ell - 1;
     644
     645  if( PL > 1 )
     646  {
     647    "// l: ", l;
     648    "// h: ", h;
     649    "// n: ", n;
     650    "// ell: ", ell;
     651    "// k: ", k;
     652    "// row: ", row;
     653    "// shift: ", shift;
     654    "// iWTH: ", iWTH;
     655    "// d: ", d;
     656  }
     657
     658  intmat newBetti[ n + 1 ][ iWTH ];
    643659  int i, j;
    644660
     
    656672  }
    657673
    658   int iWTH = h-l+1;
    659674  for (j=2; j<=n+1; j++) {
    660675    for (i=1; i<min(j, iWTH); i++) {
    661       newBetti[j,i]=-1;
    662     }
    663   }
    664   int d = k - h + ell - 1;
     676      newBetti[j,i]= -1;
     677    }
     678  }
     679
    665680  for (j=1; j<=n; j++) {
    666681    for (i=iWTH; i>=k+j; i--) {
    667       newBetti[j,i]=-1;
     682      newBetti[j,i]=0; // -1;
    668683    }
    669684  }
     
    847862
    848863  int tResulutionBegin=timer;
    849   resolution RE = nres(EM, maxbound);
     864  resolution RE = nres(EM, maxbound); // TODO: Plural computes one too many syzygies...?!
    850865  int tMinResBegin=timer;
    851866  RE = minres(RE);
     
    858873  if( PL > 0 )
    859874  {
     875    //    list L = RE; // TODO: size(L/RE) is wrong!
    860876    "
    861877        ----      RESULTS  ----
    862         Tate Resolution (Length: ", size(RE), "):
     878        Tate Resolution:
    863879    ";
    864880    RE;
     
    13411357proc getIdealSheaf(ideal I)
    13421358{
     1359  int i = homog(I);
    13431360  resolution FI = mres(I,2); // Syz + grading...
    13441361  module M = FI[2];
    13451362  attrib(M, "isCoker", 1);
    1346   attrib(M);
     1363  //  attrib(M);
    13471364  return(M);
    13481365};
Note: See TracChangeset for help on using the changeset viewer.