Changeset 09723d in git


Ignore:
Timestamp:
Sep 21, 2011, 11:12:10 AM (13 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
7d24a2e881df0cf42900979491d6c617a9c71141
Parents:
327efa20e70d58adf952cceee8f24ae2a24079c5
Message:
better way to recover factors


git-svn-id: file:///usr/local/Singular/svn/trunk@14383 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    r327efa2 r09723d  
    19721972{
    19731973  CFList result;
    1974   CanonicalForm tmp;
     1974  CanonicalForm tmp, tmp2;
     1975  CanonicalForm G= F;
    19751976  for (CFListIterator i= factors; i.hasItem(); i++)
    19761977  {
    1977     tmp= i.getItem() / content (i.getItem(), 1);
    1978     if (fdivides (tmp, F))
     1978    tmp= i.getItem()/content (i.getItem(), 1);
     1979    if (fdivides (tmp, G, tmp2))
     1980    {
     1981      G= tmp2;
    19791982      result.append (tmp);
     1983    }
    19801984  }
    19811985  return result;
Note: See TracChangeset for help on using the changeset viewer.