Changeset 954622 in git for Singular/polys.cc


Ignore:
Timestamp:
Jan 5, 1998, 5:39:30 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c3f65f904023367359e5ea645233a032bc19ec97
Parents:
9804bd89225c20a26731f3612ccb6b9060765066
Message:
* hannes: fixes for "TEST_MAC_ORDER" and some optimizations for binomials
   (binom.cc binom.h claptmpl.cc ipid.h kstd1.cc kstd2.cc kutil.cc
   polys-impl.h polys.cc polys.h polys0.cc polys1.cc ring.h spolys.cc spolys0.h)


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

Legend:

Unmodified
Added
Removed
  • Singular/polys.cc

    r9804bd r954622  
    33*  Computer Algebra System SINGULAR     *
    44****************************************/
    5 /* $Id: polys.cc,v 1.11 1997-12-16 18:24:00 obachman Exp $ */
     5/* $Id: polys.cc,v 1.12 1998-01-05 16:39:26 Singular Exp $ */
    66
    77/*
     
    19261926         short ** wv)
    19271927{
     1928#ifdef TEST_MAC_ORDER
     1929  bNoAdd=FALSE;
     1930#endif
    19281931  int i;
    19291932  pComponentOrder=1;
     
    19992002#ifdef TEST_MAC_ORDER
    20002003    if (orders[0]==ringorder_dp)
    2001        bBinomSet();
     2004       bBinomSet(orders);
    20022005#endif
    20032006  }
     
    20162019#endif   
    20172020    SetpSetm(orders[1],1);
     2021#ifdef TEST_MAC_ORDER
     2022    if (orders[1]==ringorder_dp)
     2023       bBinomSet(orders);
     2024#endif
    20182025  }
    20192026  /*------- more than one block ----------------------*/
     
    21472154           pAddExp(a,i, pGetExp(exp,i));
    21482155        }
    2149         #ifndef TEST_MAC_ORDER
    2150         a->Order += exp->Order;
    2151         #else
    2152         pSetm(a);
     2156        #ifdef TEST_MAC_ORDER
     2157        if (bNoAdd)
     2158          pSetm(a);
     2159        else
    21532160        #endif
     2161          a->Order += exp->Order;
    21542162        if (pMultT_nok)
    21552163        {
Note: See TracChangeset for help on using the changeset viewer.