- Timestamp:
- Sep 16, 2013, 4:55:47 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- e3572aeabbaf031b22dbbac237937700676a8248
- Parents:
- 12d61707b29797f7bf3e42e5b9f0a01e937da42b
- git-author:
- Martin Lee <martinlee84@web.de>2013-09-16 16:55:47+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-09-27 11:27:58+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/transext.cc
r12d617 r4254a7f 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.