Changeset 23e8e2 in git for libpolys/polys/ext_fields/transext.cc
- Timestamp:
- Sep 27, 2013, 1:25:58 PM (11 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 62393da950b3f0e2f7ae740773cd556f16a20bda
- Parents:
- 12d61707b29797f7bf3e42e5b9f0a01e937da42be3572aeabbaf031b22dbbac237937700676a8248
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r12d617 r23e8e2 1387 1387 DEN(f), or both, due to previous arithmetics. The next call will 1388 1388 remove those nested fractions, in case there are any. */ 1389 if (nCoeff_is_Zp(ntCoeffs) && p_IsConstant (DEN (f), ntRing))1389 if (nCoeff_is_Zp(ntCoeffs)) 1390 1390 { 1391 1391 NUM (f) = p_Div_nn (NUM (f), p_GetCoeff (DEN(f),ntRing), ntRing); 1392 p_Delete(&DEN (f), ntRing); 1393 DEN (f) = NULL; 1394 COM (f) = 0; 1392 if (p_IsConstant (DEN (f), ntRing)) 1393 { 1394 p_Delete(&DEN (f), ntRing); 1395 DEN (f) = NULL; 1396 } 1397 else 1398 { 1399 p_Norm (DEN (f),ntRing); 1400 } 1395 1401 } else if (nCoeff_is_Q(ntCoeffs)) handleNestedFractionsOverQ(f, cf); 1396 1402 } … … 1407 1413 else 1408 1414 { 1409 if (nCoeff_is_Zp(ntCoeffs) && p_IsConstant (DEN (f), ntRing))1415 if (nCoeff_is_Zp(ntCoeffs)) 1410 1416 { 1411 1417 NUM (f) = p_Div_nn (NUM (f), p_GetCoeff (DEN(f),ntRing), ntRing); 1412 p_Delete(&DEN (f), ntRing); 1413 DEN (f) = NULL; 1414 COM (f) = 0; 1418 if (p_IsConstant (DEN (f), ntRing)) 1419 { 1420 p_Delete(&DEN (f), ntRing); 1421 DEN (f) = NULL; 1422 } 1423 else 1424 { 1425 p_Norm (DEN (f),ntRing); 1426 } 1415 1427 } 1416 1428 }
Note: See TracChangeset
for help on using the changeset viewer.