Changeset a44bcf in git for libpolys/polys
- Timestamp:
- Apr 26, 2013, 12:07:28 PM (11 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 24029535f20e3283a5e681c592f7d6f44bfafe01
- Parents:
- 96c2ce8b080a9a545234eb9b8d52c48883488fc8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r96c2ce ra44bcf 175 175 // } 176 176 // test that nume is over integers!? 177 } 178 if (getCoeffType(ntCoeffs)==n_Q) 179 { 180 poly p=num; // !=NULL 181 do 182 { 183 number n=pGetCoeff(p); 184 n_Test(n,ntCoeffs); 185 if (!(SR_HDL(n) & SR_INT)) 186 { 187 if (n->s<2) 188 Print("rational coeff in num: %s:%d\n",f,l); 189 } 190 pIter(p); 191 } while(p!=NULL); 192 p=den; 193 while(p!=NULL) 194 { 195 number n=pGetCoeff(p); 196 if (!(SR_HDL(n) & SR_INT)) 197 { 198 if (n->s!=3) 199 Print("rational coeff in den.:%s:%d\n",f,l); 200 } 201 pIter(p); 202 } 177 203 } 178 204 return TRUE;
Note: See TracChangeset
for help on using the changeset viewer.