Changeset 456842 in git for libfac/factor/MVMultiHensel.cc
- Timestamp:
- Aug 8, 2001, 4:26:56 PM (22 years ago)
- Branches:
- (u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
- Children:
- 8444b045c3217f44893e92cc7acc9a1bc7595178
- Parents:
- 14b1e65b4290df7e1f7dc6b926269dc204ea38a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/factor/MVMultiHensel.cc
r14b1e65 r456842 2 2 /////////////////////////////////////////////////////////////////////////////// 3 3 // emacs edit mode for this file is -*- C++ -*- 4 // static char * rcsid = "$Id: MVMultiHensel.cc,v 1. 5 2001-08-08 11:59:12Singular Exp $";4 // static char * rcsid = "$Id: MVMultiHensel.cc,v 1.6 2001-08-08 14:26:55 Singular Exp $"; 5 5 /////////////////////////////////////////////////////////////////////////////// 6 6 // FACTORY - Includes … … 16 16 17 17 #ifdef SINGULAR 18 # define HAVE_SINGULAR 18 #define HAVE_SINGULAR_ERROR 19 #endif 20 21 #ifdef HAVE_SINGULAR_ERROR 19 22 extern "C" { void WerrorS(char *); } 20 23 #endif … … 109 112 // Degrees ok? degree(F1,mainvar) + degree(F2,mainvar) <= i ? 110 113 if ( (degree(F1,levelU) + degree(F2,levelU) ) <= i ) { 111 #ifdef HAVE_SINGULAR114 #ifdef factor/MVMultiHensel.cc 112 115 WerrorS("libfac: diophant ERROR: degree too large! "); 113 116 #else 117 #ifndef NOSTREAMIO 114 118 cerr << "libfac: diophant ERROR: degree too large! " 115 119 << (degree(F1,levelU) + degree(F2,levelU) ) <<endl; 120 #else 121 ; 122 #endif 116 123 #endif 117 124 Retvalue.One=F1;Retvalue.Two=F2; … … 123 130 // check if gcd(F1,F2) <> 1 , i.e. F1 and F2 are not relatively prime 124 131 if ( ! r.isOne() ){ 125 #ifdef HAVE_SINGULAR 132 #ifdef HAVE_SINGULAR_ERROR 126 133 WerrorS("libfac: diophant ERROR: F1 and F2 are not relatively prime! "); 127 134 #else … … 130 137 << " are not relatively prime!" << endl; 131 138 #else 132 cerr << "libfac: diophant ERROR: F1 and F2 are not relatively prime!" 133 << endl; 139 ; 134 140 #endif 135 141 #endif … … 405 411 /* 406 412 $Log: not supported by cvs2svn $ 413 Revision 1.5 2001/08/08 11:59:12 Singular 414 *hannes: Dan's NOSTREAMIO changes 415 407 416 Revision 1.4 1997/11/18 16:39:05 Singular 408 417 * hannes: moved WerrorS from C++ to C
Note: See TracChangeset
for help on using the changeset viewer.