Changeset e76ba8d in git for kernel


Ignore:
Timestamp:
Apr 3, 2009, 8:53:16 PM (15 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
5ff25a34cd1c8aae9be47c0a88b1fc0d92845df1
Parents:
69262fa0701b9d59e896f3f94f538bb7df85958d
Message:
*motsak: bug in handling factors of sca lead to wrong sca detection


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

Legend:

Unmodified
Added
Removed
  • kernel/sca.cc

    r69262fa re76ba8d  
    77 *  Author:  motsak (Oleksandr Motsak)
    88 *  Created: 2006/12/18
    9  *  Version: $Id: sca.cc,v 1.33 2009-03-02 17:04:52 motsak Exp $
     9 *  Version: $Id: sca.cc,v 1.34 2009-04-03 18:53:16 motsak Exp $
    1010 *******************************************************************/
    1111
     
    14771477  bool bSCA = true;
    14781478
    1479   int b = 1;
    1480   int e = N
     1479  int b = N+1;
     1480  int e = -1
    14811481
    14821482  if(rIsSCA(rG))
    14831483  {
    1484     b = si_max(b, scaFirstAltVar(rG));
    1485     e = si_min(e, scaLastAltVar(rG));
     1484    b = si_min(b, scaFirstAltVar(rG));
     1485    e = si_max(e, scaLastAltVar(rG));
    14861486
    14871487#if MYTEST
Note: See TracChangeset for help on using the changeset viewer.