Changeset 6d0515d in git for libpolys/polys/ext_fields
- Timestamp:
- Aug 12, 2016, 11:02:18 AM (8 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 16120ff86476199d17c69372277e4f74d645bad8
- Parents:
- 75b12a8379e8fdc352f1ced846ad6cb2ee44ec22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r75b12a r6d0515d 77 77 #define ntTest(a) n_Test(a, cf) 78 78 79 /// Our own type!80 static const n_coeffType ID = n_transExt;81 82 79 /* polynomial ring in which the numerators and denominators of our 83 80 numbers live */ … … 175 172 BOOLEAN ntDBTest(number a, const char *f, const int l, const coeffs cf) 176 173 { 177 assume(getCoeffType(cf) == ID);174 assume(getCoeffType(cf) == n_transExt); 178 175 179 176 if (IS0(a)) return TRUE; … … 1594 1591 static BOOLEAN ntCoeffIsEqual(const coeffs cf, n_coeffType n, void * param) 1595 1592 { 1596 if ( ID!= n) return FALSE;1593 if (n_transExt != n) return FALSE; 1597 1594 TransExtInfo *e = (TransExtInfo *)param; 1598 1595 /* for rational function fields we expect the underlying … … 2107 2104 { 2108 2105 /* dst is expected to be a rational function field */ 2109 assume(getCoeffType(dst) == ID);2106 assume(getCoeffType(dst) == n_transExt); 2110 2107 2111 2108 if( src == dst ) return ndCopyMap; … … 2218 2215 static number ntParameter(const int iParameter, const coeffs cf) 2219 2216 { 2220 assume(getCoeffType(cf) == ID);2217 assume(getCoeffType(cf) == n_transExt); 2221 2218 2222 2219 const ring R = cf->extRing; … … 2241 2238 { 2242 2239 ntTest(m); 2243 assume(getCoeffType(cf) == ID);2240 assume(getCoeffType(cf) == n_transExt); 2244 2241 2245 2242 const ring R = cf->extRing; … … 2267 2264 { 2268 2265 assume(cf != NULL); 2269 assume(getCoeffType(cf) == ID);2266 assume(getCoeffType(cf) == n_transExt); 2270 2267 // all coeffs are given by fractions of polynomails over integers!!! 2271 2268 // without denominators!!! … … 2356 2353 { 2357 2354 assume(cf != NULL); 2358 assume(getCoeffType(cf) == ID); // both over Q(a) and Zp(a)!2355 assume(getCoeffType(cf) == n_transExt); // both over Q(a) and Zp(a)! 2359 2356 // all coeffs are given by fractions of polynomails over integers!!! 2360 2357 … … 2549 2546 2550 2547 assume( cf != NULL ); 2551 assume(getCoeffType(cf) == ID); // coeff type;2548 assume(getCoeffType(cf) == n_transExt); // coeff type; 2552 2549 2553 2550 ring R = e->r;
Note: See TracChangeset
for help on using the changeset viewer.