Changeset 0bf6d1 in git


Ignore:
Timestamp:
Nov 25, 2015, 5:26:00 PM (8 years ago)
Author:
Stephan Oberfranz <oberfran@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a4dd0aa5b834e797bf7b0386495103218f185e98
Parents:
da3c03f9b177b37854122939917b92627999ddc1
Message:
delete intermediate debug output
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/walk.cc

    rda3c03 r0bf6d1  
    25272527        mpz_out_str( stdout, 10, vec[j]);
    25282528        PrintS(" is greater than 2147483647 (max. integer representation)\n");
    2529         Print("//  So vector[%d] := %d is wrong!!\n",j+1, vec[j]);// vec[j] is mpz_t
     2529        //Print("//  So vector[%d] := %d is wrong!!\n",j+1, vec[j]);// vec[j] is mpz_t
    25302530      }
    25312531    }
     
    42544254    next_weight = MkInterRedNextWeight(curr_weight,target_weight, G);
    42554255    xtnw=xtnw+clock()-to;
    4256 #ifdef PRINT_VECTORS
     4256/*#ifdef PRINT_VECTORS
    42574257    MivString(curr_weight, target_weight, next_weight);
    42584258#endif
    4259 
     4259*/
    42604260    if(Overflow_Error == TRUE)
    42614261    {
     
    42934293        tproc=tproc+clock()-tinput;
    42944294       
    4295         Print("\n// takes %d steps and calls \"Rec_LastGB\" (%d):",
     4295        /*Print("\n// takes %d steps and calls \"Rec_LastGB\" (%d):",
    42964296        nwalk, tp_deg+1);
    4297        
     4297        */
    42984298        G = Rec_LastGB(G,curr_weight, orig_target_weight, tp_deg+1,nnwinC);
    42994299        newRing = currRing;
     
    43294329    {
    43304330      // nOverflow_Error = Overflow_Error;
    4331       Print("\n//  takes %d steps and calls \"Rec_LastGB (%d):", tp_deg+1);
     4331      //Print("\n//  takes %d steps and calls \"Rec_LastGB (%d):", tp_deg+1);
    43324332      tproc=tproc+clock()-tinput;
    43334333      F1 = Rec_LastGB(F1,curr_weight, orig_target_weight, tp_deg+1,nnwinC);
     
    46074607  //Print("\n// pSetm_Error = (%d)", ErrorCheck());
    46084608  //Print("\n// Overflow_Error? (%d)", nOverflow_Error);
    4609   Print("\n// Awalk2 took %d steps!!", nstep);
     4609  //Print("\n// Awalk2 took %d steps!!", nstep);
    46104610#endif
    46114611
     
    86218621    next_weight = MwalkNextWeightCC(curr_weight,target_weight, G);
    86228622    tnw=tnw+clock()-to;
    8623 #ifdef PRINT_VECTORS
     8623/*#ifdef PRINT_VECTORS
    86248624    MivString(curr_weight, target_weight, next_weight);
    86258625#endif
    8626 
     8626*/
    86278627
    86288628    /* check whether the computed intermediate weight vector is in
     
    88348834  delete iv_lp;
    88358835  omFree(npert);
    8836 
     8836/*
    88378837#ifdef TIME_TEST
    88388838  Print("\n// Computation took %d steps and %.2f sec",
     
    88448844  Print("\n// Overflow_Error? (%d)\n", Overflow_Error);
    88458845#endif
    8846 
     8846*/
    88478847  return(G);
    88488848}
     
    94929492    newRing = currRing;
    94939493    Gomega1 = idrMoveR(Gomega, oldRing,currRing);
    9494 
     9494/*
    94959495#ifdef ENDWALKS
    94969496    if(endwalks == 1)
     
    95019501    }
    95029502#endif
    9503 
     9503*/
    95049504    to=clock();
    95059505    // compute a reduced Groebner basis of <Gomega> w.r.t. "newRing"
     
    96019601  if( test_w_in_ConeCC(G1, target_weight) != 1 || ntestwinC == 0)
    96029602  {
    9603     PrintS("\n// The perturbed target vector doesn't STAY in the correct cone!!");
     9603    //PrintS("\n// The perturbed target vector doesn't STAY in the correct cone!!");
    96049604    if(tp_deg == 1)
    96059605    {
     
    96309630
    96319631  //Print("\n// \"Mpwalk\" (1,%d) took %d steps and %.2f sec. Overflow_Error (%d)", tp_deg, nwalk, ((double) clock()-tinput)/1000000, nOverflow_Error);
    9632   Print("\n// Mprwalk took %d steps. Ring= %s;\n", nwalk, rString(currRing));
     9632  //Print("\n// Mprwalk took %d steps. Ring= %s;\n", nwalk, rString(currRing));
    96339633  return(result);
    96349634}
     
    98329832    next_weight = MkInterRedNextWeight(curr_weight,target_weight, G);
    98339833    xtnw=xtnw+clock()-to;
    9834 #ifdef PRINT_VECTORS
     9834/*#ifdef PRINT_VECTORS
    98359835    MivString(curr_weight, target_weight, next_weight);
    98369836#endif
    9837 
     9837*/
    98389838    if(Overflow_Error == TRUE)
    98399839    {
     
    99059905  delete exivlp;
    99069906#ifdef TIME_TEST
    9907 
     9907/*
    99089908  Print("\n// \"Main procedure\"  took %d steps, %.2f sec. and Overflow_Error(%d)",
    99099909        nwalk, ((double) tproc)/1000000, nOverflow_Error);
    99109910
    99119911  TimeStringFractal(xftinput, tostd, xtif, xtstd,xtextra, xtlift, xtred, xtnw);
    9912 
     9912*/
    99139913 // Print("\n// pSetm_Error = (%d)", ErrorCheck());
    9914   Print("\n// Overflow_Error? (%d)", Overflow_Error);
    9915   Print("\n// Awalk1 took %d steps.\n", nstep);
     9914 // Print("\n// Overflow_Error? (%d)", Overflow_Error);
     9915 // Print("\n// Awalk1 took %d steps.\n", nstep);
    99169916#endif
    99179917  return(result);
Note: See TracChangeset for help on using the changeset viewer.