Ignore:
Timestamp:
May 24, 2011, 5:00:23 PM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
48a994659e87a54916c1ebffdba59be9375387e4
Parents:
e0ae1cb631677ee4e2ec77c8413a6cc7fbd22bc8
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-24 17:00:23+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:51+01:00
Message:
testing multivariate gcd from factory: problem in p_polys.cc ('longalg missing')
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    re0ae1c rfd01a8  
    359359       but use brackets around the output, if a is not
    360360       a constant living in naCoeffs = cf->algring->cf */
    361     BOOLEAN useBrackets = TRUE;
    362     if (p_Deg(aAsPoly, naRing) == 0) useBrackets = FALSE;
     361    BOOLEAN useBrackets = !(p_IsConstant(aAsPoly, naRing));
    363362    if (useBrackets) StringAppendS("(");
    364     p_Write(aAsPoly, naRing);
     363    p_String0(aAsPoly, naRing, naRing);
    365364    if (useBrackets) StringAppendS(")");
    366365  }
Note: See TracChangeset for help on using the changeset viewer.