Changeset 7b0376 in git for Singular/walk.cc
- Timestamp:
- Aug 1, 2016, 10:55:54 AM (8 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 36d61f07ab133fd386896763b697a66e352e67ba
- Parents:
- f9b0bddbfb9793b47a94a5d2aace6da9918e3c70cd79608c61d713b22b8e9ae861168cbd02e4fab9
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2016-08-01 10:55:54+02:00
- git-committer:
- GitHub <noreply@github.com>2016-08-01 10:55:54+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/walk.cc
rcd7960 r7b0376 2 2 * Computer Algebra System SINGULAR * 3 3 *****************************************/ 4 /* $Id$ */5 4 /* 6 5 * ABSTRACT: Implementation of the Groebner walk … … 2000 1999 { 2001 2000 #ifndef SING_NDEBUG 2002 Print ("\n//MwalkNextWeightCC: t_nenner=0\n");2001 PrintS("\n//MwalkNextWeightCC: t_nenner=0\n"); 2003 2002 #endif 2004 2003 delete diff_weight; … … 2095 2094 mpz_out_str( stdout, 10, t_nenner); 2096 2095 Print(" * %d)", (*curr_weight)[j]); 2097 Print (" + ("); mpz_out_str( stdout, 10, t_zaehler);2096 PrintS(" + ("); mpz_out_str( stdout, 10, t_zaehler); 2098 2097 Print(" * %d) = ", (*diff_weight)[j]); 2099 2098 mpz_out_str( stdout, 10, s_nenner); … … 2395 2394 { 2396 2395 #ifndef SING_NDEBUG 2397 Print ("\n//MwalkNextWeightCC: t_nenner=0\n");2396 PrintS("\n//MwalkNextWeightCC: t_nenner=0\n"); 2398 2397 #endif 2399 2398 delete diff_weight; … … 2479 2478 mpz_out_str( stdout, 10, t_nenner); 2480 2479 Print(" * %d)", (*curr_weight)[j]); 2481 Print (" + ("); mpz_out_str( stdout, 10, t_zaehler);2480 PrintS(" + ("); mpz_out_str( stdout, 10, t_zaehler); 2482 2481 Print(" * %d) = ", (*diff_weight)[j]); 2483 2482 mpz_out_str( stdout, 10, s_nenner); … … 5531 5530 if(weight_rad < 0) 5532 5531 { 5533 Werror ("Invalid radius.\n");5532 WerrorS("Invalid radius.\n"); 5534 5533 return NULL; 5535 5534 } … … 5538 5537 if(pert_deg > nV || pert_deg < 1) 5539 5538 { 5540 Werror ("Invalid perturbation degree.\n");5539 WerrorS("Invalid perturbation degree.\n"); 5541 5540 return NULL; 5542 5541 } … … 5876 5875 if(op_deg < 1 || tp_deg < 1 || op_deg > nV || tp_deg > nV) 5877 5876 { 5878 Werror ("Invalid perturbation degree.\n");5877 WerrorS("Invalid perturbation degree.\n"); 5879 5878 return NULL; 5880 5879 } … … 6311 6310 if(weight_rad < 0) 6312 6311 { 6313 Werror ("Invalid radius.\n");6312 WerrorS("Invalid radius.\n"); 6314 6313 return NULL; 6315 6314 } … … 6318 6317 if(op_deg < 1 || tp_deg < 1 || op_deg > nV || tp_deg > nV) 6319 6318 { 6320 Werror ("Invalid perturbation degree.\n");6319 WerrorS("Invalid perturbation degree.\n"); 6321 6320 return NULL; 6322 6321 } … … 6655 6654 if(printout > 1) 6656 6655 { 6657 Print ("\n Mpwalk: there is a polynomial in Gomega with at least 3 monomials.\n");6656 PrintS("\n Mpwalk: there is a polynomial in Gomega with at least 3 monomials.\n"); 6658 6657 } 6659 6658 // low-dimensional facet of the cone … … 7103 7102 if(printout > 0) 7104 7103 { 7105 Print ("\n//** rec_fractal_call: Wrong cone. Tau doesn't stay in the correct cone.\n");7104 PrintS("\n//** rec_fractal_call: Wrong cone. Tau doesn't stay in the correct cone.\n"); 7106 7105 } 7107 7106 … … 7125 7124 if(printout > 0) 7126 7125 { 7127 Print ("\n//** rec_fractal_call: Updated vectors are equal to the old vectors.\n");7126 PrintS("\n//** rec_fractal_call: Updated vectors are equal to the old vectors.\n"); 7128 7127 } 7129 7128 delete Xtautmp; … … 7278 7277 if(printout > 1) 7279 7278 { 7280 Print ("\n//** rec_fractal_call: Maximal recursion depth.\n");7279 PrintS("\n//** rec_fractal_call: Maximal recursion depth.\n"); 7281 7280 } 7282 7281 #ifdef TIME_TEST … … 8113 8112 if(weight_rad < 0) 8114 8113 { 8115 Werror ("Invalid radius.\n");8114 WerrorS("Invalid radius.\n"); 8116 8115 return NULL; 8117 8116 } … … 9219 9218 if(tp_deg < 1 || tp_deg > nV) 9220 9219 { 9221 Werror ("Invalid perturbation degree.\n");9220 WerrorS("Invalid perturbation degree.\n"); 9222 9221 return NULL; 9223 9222 }
Note: See TracChangeset
for help on using the changeset viewer.