Changeset e12050 in git
- Timestamp:
- Jul 25, 2012, 5:48:15 PM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7920d2520df02c16094e91bd37b2087f8ec58ab6
- Parents:
- 6779bb431ba1eced98b7cb0e1fed5fbfef1f0244
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-25 17:48:15+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-25 17:51:00+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/polys.cc
r6779bb re12050 13 13 void rChangeCurrRing(ring r) 14 14 { 15 currRing = r; 16 currQuotient = r->qideal; 17 //------------ global variables related to coefficients ------------ 18 nSetChar(r->cf); 19 //------------ global variables related to polys ------------------- 15 if( r != NULL ) 16 { 17 rTest(r); 18 19 //------------ set global ring vars -------------------------------- 20 currRing = r; 21 currQuotient = r->qideal; 22 //------------ global variables related to coefficients ------------ 23 assume( r->cf!= NULL ); 24 nSetChar(r->cf); 25 //------------ global variables related to polys 26 p_SetGlobals(r); 27 //------------ global variables related to factory ----------------- 28 } else 29 { 30 currRing = NULL; 31 currQuotient = NULL; 32 } 20 33 } 21 34 /* 22 23 35 /// internally changes the gloabl ring and resets the relevant 24 36 /// global variables:
Note: See TracChangeset
for help on using the changeset viewer.