Changeset f53120 in git


Ignore:
Timestamp:
Mar 20, 2012, 11:46:00 AM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
2f6b7376e83020b3c6dcbaf0846be801180cfc8a
Parents:
83749553a90911956d243a05c243515b4e8704e0
git-author:
Martin Lee <martinlee84@web.de>2012-03-20 11:46:00+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:27+02:00
Message:
fix: seperate char= 0 and char>p
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facMul.cc

    r837495 rf53120  
    398398  if (CFFactory::gettype() == GaloisFieldDomain)
    399399    return F*G;
    400   if (F.inCoeffDomain() || G.inCoeffDomain() || getCharacteristic() == 0)
     400  if (getCharacteristic() == 0)
    401401  {
    402402    Variable alpha;
     
    495495    return F*G;
    496496  }
     497  else if (F.inCoeffDomain() || G.inCoeffDomain())
     498    return F*G;
    497499  ASSERT (F.isUnivariate() && G.isUnivariate(), "expected univariate polys");
    498500  ASSERT (F.level() == G.level(), "expected polys of same level");
Note: See TracChangeset for help on using the changeset viewer.