Changeset 5fb90e in git
- Timestamp:
- Dec 14, 2011, 12:16:56 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 69ed5243c7b1d76bdf25206c9670341020c3e5d9
- Parents:
- 635774baf3364550ff343f7f4de3f6c935d61e42
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys.cc
r635774 r5fb90e 10 10 ideal currQuotient = NULL; 11 11 12 /* -------------------------------------------------------- */13 /*214 * change all global variables to fit the description of the new ring15 */16 17 void p_SetGlobals(const ring r, BOOLEAN complete)18 {19 // // // if (r->ppNoether!=NULL) p_Delete(&r->ppNoether,r); // ???20 21 if (complete)22 {23 test &= ~ TEST_RINGDEP_OPTS;24 test |= r->options;25 }26 }27 28 12 void rChangeCurrRing(ring r) 29 13 { … … 33 17 nSetChar(r->cf); 34 18 //------------ global variables related to polys ------------------- 35 p_SetGlobals(r);36 19 } 37 20 /* -
kernel/polys.h
r635774 r5fb90e 14 14 extern ring currRing; 15 15 void rChangeCurrRing(ring r); 16 17 void p_SetGlobals(const ring r, BOOLEAN complete = TRUE);18 16 19 17 #include <coeffs/numbers.h> -
libpolys/polys/monomials/ring.cc
r635774 r5fb90e 3318 3318 static void rCheckOrdSgn(ring r,int i/*current block*/); 3319 3319 3320 /* -------------------------------------------------------- */ 3321 /*2 3322 * change all global variables to fit the description of the new ring 3323 */ 3324 3325 void p_SetGlobals(const ring r, BOOLEAN complete) 3326 { 3327 // // // if (r->ppNoether!=NULL) p_Delete(&r->ppNoether,r); // ??? 3328 3329 if (complete) 3330 { 3331 test &= ~ TEST_RINGDEP_OPTS; 3332 test |= r->options; 3333 } 3334 } 3335 3320 3336 BOOLEAN rComplete(ring r, int force) 3321 3337 { … … 3711 3727 r->p_Procs = (p_Procs_s*)omAlloc(sizeof(p_Procs_s)); 3712 3728 p_ProcsSet(r, r->p_Procs); 3729 p_SetGlobals(r); 3713 3730 return FALSE; 3714 3731 } -
libpolys/polys/monomials/ring.h
r635774 r5fb90e 488 488 BOOLEAN rComplete(ring r, int force = 0); 489 489 // use this to free fields created by rComplete //? 490 491 /// set all properties of a new ring - also called by rComplete 492 void p_SetGlobals(const ring r, BOOLEAN complete = TRUE); 490 493 491 494 static inline int rBlocks(ring r)
Note: See TracChangeset
for help on using the changeset viewer.