Changeset d2fb9b7 in git


Ignore:
Timestamp:
Feb 21, 2009, 6:05:51 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
a794e7f15c7e36410e1311fcc983b20a6404c7b5
Parents:
146c74966f02eca9e5b7c4b055337e0327e11718
Message:
*hannes: minor opt. in pHasNotCF


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

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r146c749 rd2fb9b7  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.35 2009-01-15 10:33:24 Singular Exp $ */
     4/* $Id: polys.cc,v 1.36 2009-02-21 17:05:51 Singular Exp $ */
    55
    66/*
     
    716716      return FALSE;
    717717  }
    718   int i = 1;
     718  int i = pVariables;
    719719  loop
    720720  {
    721721    if ((pGetExp(p1, i) > 0) && (pGetExp(p2, i) > 0))   return FALSE;
    722     if (i == pVariables)                                return TRUE;
    723     i++;
     722    i--;
     723    if (i == 0)                                         return TRUE;
    724724  }
    725725}
Note: See TracChangeset for help on using the changeset viewer.