Changeset 04d04e0 in git


Ignore:
Timestamp:
May 22, 2007, 6:14:10 PM (17 years ago)
Author:
Oliver Wienand <wienand@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d3b2ebc75d75cdce3cc0fb111e38f45c5cfdfc2e
Parents:
ca545919f01532fc9a016127a36e3869cfd9591e
Message:
kleine verbesserungen und konstantencheck für ringe entfernt.


git-svn-id: file:///usr/local/Singular/svn/trunk@10067 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/kstd1.cc

    rca54591 r04d04e0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.20 2007-05-11 10:48:03 wienand Exp $ */
     4/* $Id: kstd1.cc,v 1.21 2007-05-22 16:14:09 wienand Exp $ */
    55/*
    66* ABSTRACT:
     
    10691069  else if (strat->kHEdgeFound || strat->homog)
    10701070    strat->red = redFirst;  /*take the first possible in T*/
     1071#ifdef HAVE_RINGS  //TODO Oliver
     1072  else if (rField_is_Ring(currRing))
     1073    strat->red = redRing2toM;
     1074#endif
    10711075  else
    10721076    strat->red = redEcart;/*take the first possible in under ecart-restriction*/
     
    19031907  strat->sevT        = initsevT();
    19041908  strat->red         = redLazy;
     1909#ifdef HAVE_RINGS  //TODO Oliver
     1910  if (rField_is_Ring(currRing)) {
     1911    strat->red = redRing2toM;
     1912  }
     1913#endif
    19051914  strat->tailRing    = currRing;
    19061915  if (pOrdSgn == -1)
  • kernel/kutil.cc

    rca54591 r04d04e0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.55 2007-05-21 17:23:36 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.56 2007-05-22 16:14:09 wienand Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    12571257  k_GetStrongLeadTerms(p, strat->S[i], currRing, m1, m2, gcd, strat->tailRing);
    12581258
    1259   pSetCoeff0(m1, (number) t);
    1260   pSetCoeff0(m2, (number) s);
     1259  pSetCoeff0(m1, (number) s);
     1260  pSetCoeff0(m2, (number) t);
    12611261  pSetCoeff0(gcd, (number) d);
    12621262
     
    12661266  {
    12671267    Print("t = %d; s = %d; d = %d\n", t, s, d);
    1268     PrintS("--- create strong gcd poly: ");
     1268    PrintS("m1 = ");
     1269    p_wrp(m1, strat->tailRing);
     1270    PrintS(" ; m2 = ");
     1271    p_wrp(m2, strat->tailRing);
     1272    PrintS(" ; gcd = ");
     1273    wrp(gcd);
     1274    PrintS("\n--- create strong gcd poly: ");
     1275    Print("\n p: ", i);
    12691276    wrp(p);
    12701277    Print("\n strat->S[%d]: ", i);
     
    44764483  }
    44774484  /*- test, if a unit is in F -*/
    4478   if ((strat->sl>=0) && pIsConstant(strat->S[0]))
     4485  if ((strat->sl>=0)
     4486#ifdef HAVE_RINGS
     4487       && !rField_is_Ring(currRing)
     4488#endif
     4489       && pIsConstant(strat->S[0]))
    44794490  {
    44804491    while (strat->sl>0) deleteInS(strat->sl,strat);
  • kernel/pInline1.h

    rca54591 r04d04e0  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline1.h,v 1.11 2007-05-10 08:12:42 wienand Exp $
     9 *  Version: $Id: pInline1.h,v 1.12 2007-05-22 16:14:10 wienand Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE1_H
     
    390390    while (i>=0);
    391391  }
    392   pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == TRUE);
    393392#ifdef HAVE_RINGS
    394393  return nDivBy(p_GetCoeff(b, r), p_GetCoeff(a, r));
    395394#else
     395  pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == TRUE);
    396396  return TRUE;
    397397#endif
Note: See TracChangeset for help on using the changeset viewer.