Changeset 85fd90 in git for kernel/polys.cc
- Timestamp:
- Sep 28, 2011, 5:48:27 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- d56ad872d739d42e59b1beb8ccc89be2a204530d
- Parents:
- 32cc7e437ee85bf7d555756eb824eadce50d50c7
- git-author:
- Burcin Erocal <burcin@erocal.org>2011-09-28 17:48:27+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:41+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys.cc
r32cc7e r85fd90 10 10 ideal currQuotient = NULL; 11 11 12 /* -------------------------------------------------------- */ 13 /*2 14 * change all global variables to fit the description of the new ring 15 */ 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 12 28 void rChangeCurrRing(ring r) 13 29 { 14 30 currRing = r; 15 31 currQuotient = r->qideal; 16 test &= ~ TEST_RINGDEP_OPTS; 17 test |= r->options; 32 //------------ global variables related to coefficients ------------ 33 nSetChar(r->cf); 34 //------------ global variables related to polys ------------------- 35 p_SetGlobals(r); 18 36 } 37 /* 38 39 /// internally changes the gloabl ring and resets the relevant 40 /// global variables: 41 /// SHOULD BE DEPRECATED NOW...? 42 void rChangeCurrRing(ring r) 43 { 44 // if (!rMinpolyIsNULL(currRing)) 45 // { 46 // omCheckAddr(currRing->cf->minpoly); 47 // } 48 //------------ set global ring vars -------------------------------- 49 //currRing = r; 50 //currQuotient=NULL; 51 if (r != NULL) 52 { 53 rTest(r); 54 //------------ set global ring vars -------------------------------- 55 //currQuotient=r->qideal; 56 57 //------------ global variables related to coefficients ------------ 58 nSetChar(r->cf); 59 60 //------------ global variables related to polys ------------------- 61 p_SetGlobals(r); 62 //------------ global variables related to factory ----------------- 63 } 64 } 65 */
Note: See TracChangeset
for help on using the changeset viewer.