Changeset 43cbc0 in git for kernel/gr_kstd2.cc


Ignore:
Timestamp:
Feb 23, 2009, 8:22:27 PM (14 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
e8e2b6921594abbde4a1dccae43bc5f6b73440d1
Parents:
51542244f370752f7a57d84632cc1650dc8a4ed5
Message:
*levandov: massive attack of RATGRING things on BB algorithm


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

Legend:

Unmodified
Added
Removed
  • kernel/gr_kstd2.cc

    r515422 r43cbc0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: gr_kstd2.cc,v 1.28 2009-02-23 11:26:29 Singular Exp $ */
     4/* $Id: gr_kstd2.cc,v 1.29 2009-02-23 19:22:27 levandov Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: noncomm. alg. of Buchberger
     
    11231123//        }
    11241124
    1125       strat->P.p = nc_CreateSpoly(strat->P.p1,strat->P.p2,currRing);
     1125     
     1126      if( ! rIsRatGRing(currRing) )
     1127      {
     1128        strat->P.p = nc_CreateSpoly(strat->P.p1,strat->P.p2,currRing);
     1129      }
     1130      else
     1131      {
     1132        /* rational case */
     1133        strat->P.p = nc_rat_CreateSpoly(strat->P.p1,strat->P.p2,currRing->real_var_start-1,currRing);
     1134      }
     1135
    11261136
    11271137#ifdef PDEBUG
Note: See TracChangeset for help on using the changeset viewer.