Changeset 982e01 in git


Ignore:
Timestamp:
Feb 26, 2009, 2:38:30 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
Children:
b8cf6c7396a74cf9f5eaabb53c4e78e2f9675873
Parents:
ec4a2c9179673f1cdc6b166e3d74834cf0f12cad
Message:
hannes: syntax


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

Legend:

Unmodified
Added
Removed
  • kernel/ratgring.cc

    rec4a2c r982e01  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: ratgring.cc,v 1.20 2009-02-26 12:17:38 levandov Exp $
     9 *  Version: $Id: ratgring.cc,v 1.21 2009-02-26 13:38:30 Singular Exp $
    1010 *******************************************************************/
    1111#include "mod2.h"
     
    725725  // look for 1 element of minimal degree and of minimal length
    726726  k--;
     727  poly d;
     728  int mindeglen = len;
    727729  if (k<=0) // this poly is not a ratgring poly -> pContent
    728730  {
     
    733735  }
    734736
    735   int mindeglen = len;
    736737  int pmindeglen;
    737738  for(i=0; i<=k; i++)
     
    746747    }
    747748  }
    748   poly d = pCopy(C[pmindeglen]);
     749  d = pCopy(C[pmindeglen]);
    749750  // there are dd>=1 mindeg elements
    750751  // and pmideglen is the coordinate of one of the smallest among them
Note: See TracChangeset for help on using the changeset viewer.