Changeset d92e66 in git


Ignore:
Timestamp:
Oct 22, 2012, 12:23:16 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '648d28f488f6ff08f5607ff229b9ad9e4a5b93c2')
Children:
e5fdcc46cc43bdef4751841d5c4ddcda8e6cde55
Parents:
7964658e19c1f9b2949f81ae9f46b6395fee757c
git-author:
Martin Lee <martinlee84@web.de>2012-10-22 12:23:16+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-10-24 12:33:11+02:00
Message:
chg: content computation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    r7964658 rd92e66  
    905905{
    906906  int i= A.level();
    907   contentAi.append (myContent (A, i));
    908   contentAi.append (myContent (A, i - 1));
     907  CanonicalForm buf= A;
     908  contentAi.append (content (buf, i));
     909  buf /= contentAi.getLast();
     910  contentAi.append (content (buf, i - 1));
    909911  CanonicalForm result= lcm (contentAi.getFirst(), contentAi.getLast());
    910912  for (i= i - 2; i > 0; i--)
    911913  {
    912     contentAi.append (content (A, i));
     914    contentAi.append (content (buf, i));
     915    buf /= contentAi.getLast();
    913916    result= lcm (result, contentAi.getLast());
    914917  }
Note: See TracChangeset for help on using the changeset viewer.