Changeset dd5534 in git for kernel/polys1.cc


Ignore:
Timestamp:
Mar 15, 2011, 3:45:13 PM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
91b031a4e88cb480f4ba993bf5904694c62d9b34
Parents:
c4dab43d69dd36ed09ba07d4e771236f8a7bcc39
Message:
fixed dim of ideal and sum of ideals over rings (with Anne)

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

Legend:

Unmodified
Added
Removed
  • kernel/polys1.cc

    rc4dab4 rdd5534  
    17171717  if (pLength(p1) != pLength(p2))
    17181718    return FALSE;
     1719#ifdef HAVE_RINGS
     1720  if (rField_is_Ring(currRing))
     1721  {
     1722    if ((pLength(p1) == 1) && (nEqual(pGetCoeff(p1), pGetCoeff(p2))))
     1723      return TRUE;
     1724    if (!nIsUnit(pGetCoeff(p2))) return FALSE;
     1725  }
     1726#endif
    17191727  n=nDiv(pGetCoeff(p1),pGetCoeff(p2));
    17201728  while ((p1 != NULL) /*&& (p2 != NULL)*/)
Note: See TracChangeset for help on using the changeset viewer.