Changeset ec3d9a in git for libpolys/polys/monomials/ring.cc
- Timestamp:
- Sep 22, 2015, 7:58:09 PM (9 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 67e5ab0da2ad921df018e78f9e74488dfa49f81f725efa2b691355a6799c770abbf272ad733020b0
- Parents:
- 43baf487c88de3795e5280940c8769982e610f21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
r43baf48 rec3d9a 4379 4379 // had already this property 4380 4380 // 4381 ring rAssure_SyzOrder(const ring r, BOOLEAN complete) 4382 { 4383 if ( r->order[0] == ringorder_c ) return r; 4384 return rAssure_SyzComp(r,complete); 4385 } 4381 4386 ring rAssure_SyzComp(const ring r, BOOLEAN complete) 4382 4387 { … … 4429 4434 #endif 4430 4435 4431 4432 4436 #ifdef HAVE_PLURAL 4433 4437 ring old_ring = r; … … 4458 4462 #endif 4459 4463 } 4460 4461 4464 return res; 4462 4465 } … … 4677 4680 if (new_r_1 != new_r && new_r_1 != old_r) rDelete(new_r_1); 4678 4681 4679 rComplete(new_r, 1);4682 rComplete(new_r, TRUE); 4680 4683 #ifdef HAVE_PLURAL 4681 4682 4683 4684 4684 if (rIsPluralRing(old_r)) 4685 { 4686 if ( nc_rComplete(old_r, new_r, false) ) // no qideal! 4687 { 4685 4688 # ifndef SING_NDEBUG 4686 4689 WarnS("error in nc_rComplete"); // cleanup? rDelete(res); return r; // just go on...? 4687 4690 # endif 4688 4689 4691 } 4692 } 4690 4693 #endif 4691 4694 4692 4695 ///? rChangeCurrRing(new_r); 4693 4694 4695 4696 4696 if (old_r->qideal != NULL) 4697 { 4698 new_r->qideal = idrCopyR(old_r->qideal, old_r, new_r); 4699 } 4697 4700 4698 4701 #ifdef HAVE_PLURAL 4699 4700 4701 4702 if( rIsPluralRing(old_r) ) 4703 if( nc_SetupQuotient(new_r, old_r, true) ) 4704 { 4702 4705 #ifndef SING_NDEBUG 4703 4704 #endif 4705 4706 WarnS("error in nc_SetupQuotient"); // cleanup? rDelete(res); return r; // just go on...? 4707 #endif 4708 } 4706 4709 #endif 4707 4710 4708 4711 #ifdef HAVE_PLURAL 4709 4710 4711 4712 4713 #endif 4714 4715 4716 4717 4712 assume((new_r->qideal==NULL) == (old_r->qideal==NULL)); 4713 assume(rIsPluralRing(new_r) == rIsPluralRing(old_r)); 4714 assume(rIsSCA(new_r) == rIsSCA(old_r)); 4715 assume(ncRingType(new_r) == ncRingType(old_r)); 4716 #endif 4717 4718 rTest(new_r); 4719 rTest(old_r); 4720 return new_r; 4718 4721 } 4719 4722
Note: See TracChangeset
for help on using the changeset viewer.