Changeset dd5534 in git for kernel/pInline1.h


Ignore:
Timestamp:
Mar 15, 2011, 3:45:13 PM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
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/pInline1.h

    rc4dab4 rdd5534  
    587587{
    588588  if (p == NULL) return FALSE;
     589#ifdef HAVE_RINGS
     590  if (rField_is_Ring(currRing))
     591    return (p_LmIsConstant(p, r) && nIsUnit(pGetCoeff(p)));
     592#endif
    589593  return p_LmIsConstant(p, r);
    590594}
Note: See TracChangeset for help on using the changeset viewer.