Changeset 09da99 in git for ntl/src/lzz_pXFactoring.c
- Timestamp:
- Nov 3, 2003, 6:33:49 PM (20 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 70fea801cbe08a22d1b0e9d8d1d410144e0e91f6
- Parents:
- be2bb37dcbd03b120f14559d378b21b104d907c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ntl/src/lzz_pXFactoring.c
rbe2bb3 r09da99 391 391 392 392 393 394 393 if (r == 1) { 395 394 factors.SetLength(1); … … 397 396 return; 398 397 } 399 400 398 401 399 vec_zz_p roots; … … 435 433 } 436 434 437 438 435 } 439 436 … … 807 804 808 805 809 double t;810 811 806 factors.SetLength(0); 812 807 … … 820 815 if (!IsOne(LeadCoeff(f)) || deg(f) == 0) 821 816 Error("SFCanZass1: bad args"); 822 823 double t;824 817 825 818 long p = zz_p::modulus(); … … 1438 1431 Error("BuildIrred: n must be positive"); 1439 1432 1440 if ( n >= (1L << (NTL_BITS_PER_LONG-4))) Error("overflow in BuildIrred");1433 if (NTL_OVERFLOW(n, 1, 0)) Error("overflow in BuildIrred"); 1441 1434 1442 1435 if (n == 1) { … … 1483 1476 long verbose) 1484 1477 { 1485 double t;1486 1487 1478 zz_pXModulus F; 1488 1479 build(F, f); … … 1657 1648 1658 1649 { 1659 double t;1660 1661 1650 u.SetLength(0); 1662 1651 … … 1787 1776 1788 1777 { 1789 double t;1790 1791 1778 factors.SetLength(0); 1792 1779 … … 1806 1793 } 1807 1794 } 1808 1809 1795 } 1810 1796
Note: See TracChangeset
for help on using the changeset viewer.