Changeset b9bb88 in git


Ignore:
Timestamp:
Dec 31, 2013, 3:27:27 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c5facdfddea2addfd91babd8b9019161dea4b695')
Children:
78de0188f3b8151d0749417a0074675a9602c017
Parents:
e86e21bda42dff533a74d4741008e9bde372d619cd5b0fe0695b0fbe98f020435d935066ea3a5e8a
Message:
Merge pull request #465 from ederc/min-sba

sba returns SB minimal possible without adding too much overhead
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/kstd2.cc

    re86e21 rb9bb88  
    16861686#endif
    16871687#if SBA_PRINT_SIZE_G
    1688   long size_g                   = 0;
     1688  int size_g                    = 0;
     1689  int size_g_non_red            = 0;
    16891690#endif
    16901691#if SBA_PRINT_SIZE_SYZ
     
    22922293  else if (TEST_OPT_PROT) PrintLn();
    22932294
    2294 #if SBA_PRINT_SIZE_G
    2295   size_g   = strat->sl+1;
    2296 #endif
    22972295#if SBA_PRINT_SIZE_SYZ
    22982296  // that is correct, syzl is counting one too far
     
    23172315#endif /* MYTEST */
    23182316#endif /* KDEBUG */
    2319   // using F5C it is possible that there is some data stored in the last
    2320   // entries of strat->Shdl which are dirty, i.e. not correct, but also not NULL
    2321   // => we need to delete them before return the ideal
    2322 #if F5C
    2323   for(int i=strat->sl+1;i<IDELEMS(strat->Shdl);i++)
    2324   {
    2325     //pDelete (&strat->Shdl->m[i]);
    2326     strat->Shdl->m[i] = NULL;
    2327   }
     2317#if SBA_PRINT_SIZE_G
     2318  size_g_non_red  = IDELEMS(strat->Shdl);
    23282319#endif
    23292320  if ((strat->sbaOrder == 1 || strat->sbaOrder == 3) && sRing!=currRingOld)
     
    23342325    rDelete (sRing);
    23352326  }
     2327  id_DelDiv(strat->Shdl, currRing);
     2328  idSkipZeroes(strat->Shdl);
    23362329  idTest(strat->Shdl);
    23372330
     2331#if SBA_PRINT_SIZE_G
     2332  size_g   = IDELEMS(strat->Shdl);
     2333#endif
    23382334#ifdef DEBUGF5
    23392335  printf("SIZE OF SHDL: %d\n",IDELEMS(strat->Shdl));
     
    23782374#if SBA_PRINT_SIZE_G
    23792375  printf("----------------------------------------------------------\n");
    2380   printf("SIZE OF G:                  %ld\n",size_g);
    2381   size_g  = 0;
     2376  printf("SIZE OF G:                  %d / %d\n",size_g,size_g_non_red);
     2377  size_g          = 0;
     2378  size_g_non_red  = 0;
    23822379#endif
    23832380#if SBA_PRINT_SIZE_SYZ
  • kernel/kutil.h

    re86e21 rb9bb88  
    180180public:
    181181  unsigned long sev;
    182   unsigned long from; // index in sig up to which the correspongin LObject was already checked
    183182  unsigned long checked; // this is the index of S up to which
    184183                      // the corresponding LObject was already checked in
Note: See TracChangeset for help on using the changeset viewer.