Changeset 3645fc in git for Singular/misc_ip.cc
- Timestamp:
- Jun 8, 2011, 6:45:40 PM (13 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- b9a4477dffa95152122f8354bb7633b5a708918e
- Parents:
- ac8e1a6fb7da54fe20dd3b5cb75e2f2cdd68dc06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/misc_ip.cc
rac8e1a r3645fc 21 21 #include <kernel/longrat.h> 22 22 #include <Singular/misc_ip.h> 23 #i fdef LIBSINGULAR23 #include <Singular/feOpt.h> 24 24 #include <Singular/silink.h> 25 #include <Singular/feOpt.h>26 #endif27 25 28 26 void number2mpz(number n, mpz_t m) … … 1126 1124 } 1127 1125 1128 #ifdef LIBSINGULAR1129 1126 int siInit(char *name) 1130 1127 { 1131 1128 #ifdef HAVE_FACTORY 1129 On(SW_USE_NTL); 1130 Off(SW_USE_GCD_P); 1131 On(SW_USE_NTL_GCD_0); // On -> seg11 in Old/algnorm, Old/factor... 1132 On(SW_USE_NTL_GCD_P); // On -> cyle in Short/brnoeth_s: fixed 1133 On(SW_USE_EZGCD); 1134 On(SW_USE_CHINREM_GCD); 1135 //On(SW_USE_FF_MOD_GCD); 1136 //On(SW_USE_fieldGCD); 1137 On(SW_USE_EZGCD_P); 1138 On(SW_USE_QGCD); 1139 Off(SW_USE_NTL_SORT); // may be changed by an command line option 1140 #endif 1141 1142 #ifdef INIT_BUG 1143 jjInitTab1(); 1144 #endif 1145 /* initialize components */ 1146 factoryError=WerrorS; 1147 siRandomStart=inits(); 1148 feOptSpec[FE_OPT_RANDOM].value = (void*) ((long)siRandomStart); 1149 1150 // Don't worry: ifdef OM_NDEBUG, then all these calls are undef'ed 1132 1151 // hack such that all shared' libs in the bindir are loaded correctly 1133 1152 feInitResources(name); … … 1135 1154 iiInitArithmetic(); 1136 1155 1137 #if 01138 SingularBuilder::Ptr SingularInstance = SingularBuilder::instance();1139 #else1140 1156 basePack=(package)omAlloc0(sizeof(*basePack)); 1141 1157 currPack=basePack; … … 1149 1165 slStandardInit(); 1150 1166 myynest=0; 1151 #endif 1167 1152 1168 if (! feOptValue(FE_OPT_NO_STDLIB)) 1153 1169 { … … 1159 1175 errorreported = 0; 1160 1176 } 1161 #endif 1162 1177
Note: See TracChangeset
for help on using the changeset viewer.