Changeset a35d3d7 in git


Ignore:
Timestamp:
May 23, 2016, 5:48:34 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
181bf31ff3cd5591f8ad17307f4c78803ea11f4e
Parents:
bdebb84b7e5e44a3f0d26a19f9d7ad9a6470e0d6
Message:
code cleanup: avoid local definition, use header
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rbdebb8 ra35d3d7  
    22612261#  include <polys/monomials/ring.h>
    22622262#  include <kernel/GBEngine/shiftgb.h>
     2263#  include <kernel/GBEngine/kutil.h>
    22632264
    22642265static BOOLEAN jjEXTENDED_SYSTEM(leftv res, leftv h)
     
    22712272      if (strcmp(sys_cmd, "syz") == 0)
    22722273      {
    2273          int posInT_EcartFDegpLength(const TSet set,const int length,LObject &p);
    2274          int posInT_FDegpLength(const TSet set,const int length,LObject &p);
    2275          int posInT_pLength(const TSet set,const int length,LObject &p);
    2276          int posInT0(const TSet set,const int length,LObject &p);
    2277          int posInT1(const TSet set,const int length,LObject &p);
    2278          int posInT2(const TSet set,const int length,LObject &p);
    2279          int posInT11(const TSet set,const int length,LObject &p);
    2280          int posInT110(const TSet set,const int length,LObject &p);
    2281          int posInT13(const TSet set,const int length,LObject &p);
    2282          int posInT15(const TSet set,const int length,LObject &p);
    2283          int posInT17(const TSet set,const int length,LObject &p);
    2284          int posInT17_c(const TSet set,const int length,LObject &p);
    2285          int posInT19(const TSet set,const int length,LObject &p);
    22862274         if ((h!=NULL) && (h->Typ()==STRING_CMD))
    22872275         {
  • kernel/GBEngine/kutil.h

    rbdebb8 ra35d3d7  
    428428int posInT15 (const TSet set,const int length,LObject &p);
    429429int posInT17 (const TSet set,const int length,LObject &p);
     430int posInT17_c (const TSet set,const int length,LObject &p);
    430431int posInT19 (const TSet set,const int length,LObject &p);
    431432int posInT_EcartpLength(const TSet set,const int length,LObject &p);
     433int posInT_EcartFDegpLength(const TSet set,const int length,LObject &p);
     434int posInT_FDegpLength(const TSet set,const int length,LObject &p);
     435int posInT_pLength(const TSet set,const int length,LObject &p);
    432436
    433437#ifdef HAVE_MORE_POS_IN_T
  • libpolys/polys/monomials/p_polys.h

    rbdebb8 ra35d3d7  
    15031503{
    15041504  int res = p_LmCmp(p,q,r);
    1505   if(p_GetCoeff(p,r) == NULL || p_GetCoeff(q,r) == NULL)
    1506     return res;
    15071505  if(res == 0)
    15081506  {
     1507    if(p_GetCoeff(p,r) == NULL || p_GetCoeff(q,r) == NULL)
     1508      return res;
    15091509    number pc = n_Copy(p_GetCoeff(p,r),r->cf);
    15101510    number qc = n_Copy(p_GetCoeff(q,r),r->cf);
Note: See TracChangeset for help on using the changeset viewer.