Changeset faf350 in git


Ignore:
Timestamp:
Mar 22, 2012, 7:23:47 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
393c4789a99d9bac84fad6dadc0997cfcfc9de11
Parents:
16c4008b20b489f27f77ca9a45f6dc033a689571
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-22 19:23:47+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:35+01:00
Message:
enable rDecompose over the same alg.extension, disable for qrings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r16c400 rfaf350  
    17331733lists rDecompose(const ring r)
    17341734{
     1735  assume( r != NULL );
     1736  const coeffs C = r->cf;
     1737  assume( C != NULL );
     1738 
    17351739  // sanity check: require currRing==r for rings with polynomial data
    1736   if ( (r!=currRing) && (!rMinpolyIsNULL(r)
     1740  if ( (r!=currRing) && (
     1741           (nCoeff_is_algExt(C) && (C != currRing->cf))
     1742        || (r->qideal != NULL)           
    17371743#ifdef HAVE_PLURAL
    1738   || (rIsPluralRing(r))
     1744        || (rIsPluralRing(r))
    17391745#endif
    1740   ))
     1746                        )
     1747     )
    17411748  {
    17421749    WerrorS("ring with polynomial data must be the base ring or compatible");
Note: See TracChangeset for help on using the changeset viewer.