Changeset 3b81b81 in git for kernel


Ignore:
Timestamp:
Oct 11, 2010, 2:27:00 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
ac38de17cf26231c74bf91ce4ea170ddb052460c
Parents:
aea40759739b334553cb320189732f1de02b87cd
Message:
compare polys/idSort

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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    raea407 r3b81b81  
    428428    if (pGetComp(a)==pGetComp(b))
    429429    {
    430       int r;
    431430      number h=nSub(pGetCoeff(a),pGetCoeff(b));
    432       r = -1+nIsZero(h)+2*nGreaterZero(h); /* -1: <, 0:==, 1: > */
     431      int r = -1+nIsZero(h)+2*nGreaterZero(h); /* -1: <, 0:==, 1: > */
    433432      nDelete(&h);
    434433      return r;
Note: See TracChangeset for help on using the changeset viewer.