Changeset 43cbc0 in git for kernel/gring.cc


Ignore:
Timestamp:
Feb 23, 2009, 8:22:27 PM (15 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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/gring.cc

    r515422 r43cbc0  
    77 *  Author:  levandov (Viktor Levandovsky)
    88 *  Created: 8/00 - 11/00
    9  *  Version: $Id: gring.cc,v 1.68 2008-07-26 14:28:03 motsak Exp $
     9 *  Version: $Id: gring.cc,v 1.69 2009-02-23 19:22:27 levandov Exp $
    1010 *******************************************************************/
    1111
     
    4545#include <ncSAMult.h> // for CMultiplier etc classes
    4646#include <ncSAFormula.h> // for CFormulaPowerMultiplier and enum Enum_ncSAType
     47
     48#ifdef HAVE_RATGRING
     49#include "ratgring.h"
     50#endif
    4751
    4852
     
    18961900  }
    18971901
    1898   poly m = p_Lcm(p1, p2, si_max(lCompP1, lCompP2), r);
     1902  poly m;
     1903  if ( ! rIsRatGRing(currRing))
     1904  {
     1905    m = p_Lcm(p1, p2, si_max(lCompP1, lCompP2), r);
     1906  }
     1907  else
     1908  {
     1909    /* rational version */
     1910    m = p_LcmRat(p1, p2, si_max(lCompP1, lCompP2), r);
     1911  }
    18991912
    19001913//  n_Delete(&p_GetCoeff(m, r), r);
Note: See TracChangeset for help on using the changeset viewer.