Changeset 2d2c99c in git
- Timestamp:
- Mar 20, 2012, 4:30:55 PM (11 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 3c0498bc95dd8c5ea36ad1a10baf29d12384fb79619d037962e428d4a002157d93e48cb0d12fc2d2
- Parents:
- 823e1a54509e83cc2203b2bdde54b81bb025d770d42add3b64daed7b6de0cf1e38850fe2aafa1d42
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
r823e1a r2d2c99c 826 826 r1->cf->ref++; 827 827 } 828 else if ((getCoeffType (r2->cf)==n_algExt || getCoeffType (r2->cf)==n_transExt) && rChar(r2) == rChar(r1)) 829 { 830 /*AlgExtInfo extParam; 831 extParam.r = r2->cf->extRing; 832 extParam.i = r2->cf->extRing->minideal;*/ 828 else if (nCoeff_is_Extension(r2->cf) && rChar(r2) == rChar(r1)) 829 { 833 830 tmpR.cf=r2->cf; 834 831 r2->cf->ref++; … … 852 849 r2->cf->ref++; 853 850 } 854 else if ( getCoeffType(r2->cf)==n_algExt || getCoeffType(r2->cf)==n_transExt)851 else if (nCoeff_is_Extension(r2->cf)) 855 852 { 856 853 tmpR.cf=r2->cf; … … 860 857 { 861 858 WerrorS("Q+..."); 859 return -1; 860 } 861 } 862 else if (nCoeff_is_Extension(r1->cf)) 863 { 864 if (r1->cf->extRing->cf==r2->cf) 865 { 866 tmpR.cf=r1->cf; 867 r1->cf->ref++; 868 } 869 else if (getCoeffType(r1->cf->extRing->cf)==n_Zp && getCoeffType(r2->cf)==n_Q) //r2->cf == n_Zp should have been handled above 870 { 871 tmpR.cf=r1->cf; 872 r1->cf->ref++; 873 } 874 else 875 { 876 WerrorS ("coeff sum of two extension fields not implemented"); 862 877 return -1; 863 878 }
Note: See TracChangeset
for help on using the changeset viewer.