Changeset 1f91b9 in git for libpolys/polys/ext_fields/algext.cc
- Timestamp:
- Mar 23, 2021, 1:47:28 PM (3 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 83b708e1e62df44f73360736db039f50d5fb9b14
- Parents:
- fe19cbb0dced364dd1422423b717f42df4c92424
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
rfe19cbb r1f91b9 1323 1323 void naKillChar(coeffs cf) 1324 1324 { 1325 if ((--cf->extRing->ref) == 0) 1326 rDelete(cf->extRing); 1325 rDecRefCnt(cf->extRing); 1326 if(cf->extRing->ref<0) 1327 rDelete(cf->extRing); 1327 1328 } 1328 1329 … … 1387 1388 assume(getCoeffType(cf) == n_algExt); // coeff type; 1388 1389 1389 e->r->ref ++; // increase the ref.counter for the ground poly. ring!1390 rIncRefCnt(e->r); // increase the ref.counter for the ground poly. ring! 1390 1391 const ring R = e->r; // no copy! 1391 1392 cf->extRing = R; … … 1636 1637 assume( cf != NULL ); 1637 1638 1638 e->r->ref ++; // increase the ref.counter for the ground poly. ring!1639 rIncRefCnt(e->r); // increase the ref.counter for the ground poly. ring! 1639 1640 const ring R = e->r; // no copy! 1640 1641 cf->extRing = R;
Note: See TracChangeset
for help on using the changeset viewer.