Changeset d1a302 in git for factory


Ignore:
Timestamp:
Aug 28, 2014, 1:56:05 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
be56d6d38f95c7e07d9b7061b326b0851e840fe4
Parents:
ffb7320a1e69130b9af44765525d84eab07b5b94
git-author:
Martin Lee <martinlee84@web.de>2014-08-28 13:56:05+02:00
git-committer:
Martin Lee <martinlee84@web.de>2014-08-29 10:23:28+02:00
Message:
switch to old resultant algorithm if there are no primes left
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cfModResultant.cc

    rffb732 rd1a302  
    640640    }
    641641
    642     ASSERT (i >= 0, "ran out of primes"); //sic
     642    if (i <= 0)
     643      return resultant (A, B, x);
    643644
    644645    setCharacteristic (p);
Note: See TracChangeset for help on using the changeset viewer.