Changeset 080943 in git
- Timestamp:
- Apr 30, 1997, 2:52:18 PM (27 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 496ee65e5c94500c3c66294f8c56514ca05fd1a4
- Parents:
- b03713bf687d66c6bc0239eaae0c103dba983a51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_univar.cc
rb03713 r080943 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fac_univar.cc,v 1. 7 1997-04-22 15:40:32schmidt Exp $2 // $Id: fac_univar.cc,v 1.8 1997-04-30 12:52:18 schmidt Exp $ 3 3 4 4 /* 5 5 $Log: not supported by cvs2svn $ 6 Revision 1.7 1997/04/22 15:40:32 schmidt 7 o some spurious preprocessr directives removed 8 o #define MAX_FP_FAC changed to a const max_fp_fac 9 o calls to hprint() changed to calls of a macro named 10 DEBOUTHPRINT() 11 o initHG(): warning added because of some strange error in 12 the internals of factory. we will wait for some example 13 to search for the error. 14 o kBound(), UnivariatequadraticLift(): added cast to double 15 in the calculation of the bound. at least one compiler 16 subjects an ambiguity at this point. 17 o ZFactorizeUnivariate(): 18 - spurious variable CFFList G removed 19 - sequence 'if ( D != 0 ) delete D;' changed to 'delete 20 D;' 21 - warning added because of some strange error in the 22 internals of factory. we will wait for some example 23 to search for the error. 24 o calls to macro DEBOUTLN changed to new calling syntax 25 6 26 Revision 1.6 1997/04/08 10:33:19 schmidt 7 27 #include <config.h> added … … 136 156 if ( (k = i.getItem().factor().degree()) < n ) 137 157 if ( k == -1 ) { 138 WARN( k == -1, "there occured an error. factory was not able to factorize\n"139 140 141 158 STICKYWARN( k == -1, "there occured an error. factory was not able to factorize\n" 159 "correctly mod p. Please send the example which caused\n" 160 "this error to the authors. Nonetheless we will go on with the\n" 161 "calculations hoping the result will be correct. Thank you." ); 142 162 } 143 163 else if ( k != 0 ) … … 153 173 if ( (k = F[i].degree()) < n ) 154 174 if ( k == -1 ) { 155 WARN( k == -1, "there occured an error. factory was not able to factorize\n"156 157 158 175 STICKYWARN( k == -1, "there occured an error. factory was not able to factorize\n" 176 "correctly mod p. Please send the example which caused\n" 177 "this error to the authors. Nonetheless we will go on with the\n" 178 "calculations hoping the result will be correct. Thank you." ); 159 179 } 160 180 else if ( k != 0 ) … … 440 460 if ( ! ok ) { 441 461 DEBOUTLN( cerr, "warning: no good prime found to factorize " << f ); 442 WARN( ok, "there occured an error. We went out of primes p\n"443 444 445 462 STICKYWARN( ok, "there occured an error. We went out of primes p\n" 463 "to factorize mod p. Please send the example which caused\n" 464 "this error to the authors. Nonetheless we will go on with the\n" 465 "calculations hoping the result will be correct. Thank you."); 446 466 ZF.append( CFFactor( f, exp ) ); 447 467 continue;
Note: See TracChangeset
for help on using the changeset viewer.