Changeset 5d8302 in git


Ignore:
Timestamp:
Apr 7, 1998, 7:54:20 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
d86e64ab96a8a8f265a4d1b473857a697f643276
Parents:
0077d9d4f8548ae476182f46352ceef170588689
Message:
* hannes: cleanup kstd1.cc


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

Legend:

Unmodified
Added
Removed
  • Singular/kstd1.cc

    r0077d9d r5d8302  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.18 1998-04-06 17:59:29 obachman Exp $ */
     4/* $Id: kstd1.cc,v 1.19 1998-04-07 17:54:20 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    12261226  {
    12271227    pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax);
    1228     strat->ecartS = (intset) ReAlloc(strat->ecartS,IDELEMS(strat->Shdl)*sizeof(int),
     1228    strat->ecartS = (intset) ReAlloc(strat->ecartS,
     1229                                     IDELEMS(strat->Shdl)*sizeof(int),
    12291230                                     (IDELEMS(strat->Shdl)+setmax)*sizeof(int));
    12301231    if (strat->fromQ)
    12311232    {
    1232       strat->fromQ = (intset)ReAlloc(strat->fromQ,IDELEMS(strat->Shdl)*sizeof(int),
     1233      strat->fromQ = (intset)ReAlloc(strat->fromQ,
     1234                                    IDELEMS(strat->Shdl)*sizeof(int),
    12331235                                    (IDELEMS(strat->Shdl)+setmax)*sizeof(int));
    12341236    }
     
    13101312  {
    13111313    pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax);
    1312     strat->ecartS = (intset) ReAlloc(strat->ecartS,IDELEMS(strat->Shdl)*sizeof(intset),
    1313                                      (IDELEMS(strat->Shdl)+setmax)*sizeof(intset));
     1314    strat->ecartS=(intset)ReAlloc(strat->ecartS,
     1315                                  IDELEMS(strat->Shdl)*sizeof(intset),
     1316                                  (IDELEMS(strat->Shdl)+setmax)*sizeof(intset));
    13141317    IDELEMS(strat->Shdl) += setmax;
    13151318    strat->Shdl->m=strat->S;
     
    13361339
    13371340  strat->NotUsedAxis = (BOOLEAN *)Alloc((pVariables+1)*sizeof(BOOLEAN));
    1338   for (j=1; j<=pVariables; j++) strat->NotUsedAxis[j] = TRUE;
     1341  for (j=pVariables; j>0; j--) strat->NotUsedAxis[j] = TRUE;
    13391342  strat->enterS = enterSMora;
    13401343  strat->initEcartPair = initEcartPairMora; /*- ecart approximation -*/
     
    22042207  initBuchMoraCrit(strat);
    22052208  strat->NotUsedAxis = (BOOLEAN *)Alloc((pVariables+1)*sizeof(BOOLEAN));
    2206   for (j=1; j<=pVariables; j++) strat->NotUsedAxis[j] = TRUE;
     2209  for (j=pVariables; j>0; j--) strat->NotUsedAxis[j] = TRUE;
    22072210  strat->enterS      = enterSBba;
    22082211  strat->posInT      = posInT0;
Note: See TracChangeset for help on using the changeset viewer.