Changeset 35e86e in git
- Timestamp:
- Sep 15, 2011, 2:18:54 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 39457c270cead007eb9cc693d50b312d65eabc32
- Parents:
- 08d98ae048a05828b24cde40029dac44a9c8f4cc
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-15 14:18:54+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:50+01:00
- Location:
- libpolys/polys/ext_fields
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r08d98a r35e86e 354 354 else WerrorS(nDivBy0); 355 355 } 356 else if (exp == 0) *b = naInit(1, cf);357 else if (exp == 1) *b = naCopy(a, cf);358 else if (exp == -1) *b = naInvers(a, cf);356 else if (exp == 0) { *b = naInit(1, cf); return; } 357 else if (exp == 1) { *b = naCopy(a, cf); return; } 358 else if (exp == -1) { *b = naInvers(a, cf); return; } 359 359 360 360 int expAbs = exp; if (expAbs < 0) expAbs = -expAbs; -
libpolys/polys/ext_fields/transext.cc
r08d98a r35e86e 546 546 else WerrorS(nDivBy0); 547 547 } 548 else if (exp == 0) *b = ntInit(1, cf);549 else if (exp == 1) *b = ntCopy(a, cf);550 else if (exp == -1) *b = ntInvers(a, cf);548 else if (exp == 0) { *b = ntInit(1, cf); return;} 549 else if (exp == 1) { *b = ntCopy(a, cf); return;} 550 else if (exp == -1) { *b = ntInvers(a, cf); return;} 551 551 552 552 int expAbs = exp; if (expAbs < 0) expAbs = -expAbs;
Note: See TracChangeset
for help on using the changeset viewer.