Changeset 1c90ae in git for libpolys


Ignore:
Timestamp:
Nov 29, 2021, 3:28:55 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b21a664aa22dc6e196223af8a74ad4885e83547c')
Children:
0d9242f03418bd60938e5ed6c509db7b84d67641
Parents:
eccae75d9df69c8235bdc90b5a36a2161eb0654d
Message:
renamed weight0.c -> weight0.cc (OsX does not like C here)
Location:
libpolys/polys
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • libpolys/polys/Makefile.am

    reccae7 r1c90ae  
    3333        nc/sca.cc nc/summator.cc nc/ncSAFormula.cc nc/ncSACache.cc nc/ncSAMult.cc \
    3434        pDebug.cc polys0.cc prCopy.cc prCopyMacros.h \
    35         kbuckets.cc sbuckets.cc weight.cc weight0.c simpleideals.cc matpol.cc \
     35        kbuckets.cc sbuckets.cc weight.cc weight0.cc simpleideals.cc matpol.cc \
    3636        sparsmat.cc \
    3737        shiftop.cc \
  • libpolys/polys/weight.cc

    reccae7 r1c90ae  
    2020extern "C" THREAD_VAR double (*wFunctional)(int *degw, int *lpol, int npol,
    2121       double *rel, double wx, double wNsqr);
    22 extern "C" double wFunctionalMora(int *degw, int *lpol, int npol,
     22double wFunctionalMora(int *degw, int *lpol, int npol,
    2323       double *rel, double wx, double wNsqr);
    24 extern "C" double wFunctionalBuch(int *degw, int *lpol, int npol,
     24double wFunctionalBuch(int *degw, int *lpol, int npol,
    2525       double *rel, double wx, double wNsqr);
    26 extern "C" void wAdd(int *A, int mons, int kn, int xx, int rvar);
    27 extern "C" void wNorm(int *degw, int *lpol, int npol, double *rel);
    28 extern "C" void wFirstSearch(int *A, int *x, int mons,
     26void wAdd(int *A, int mons, int kn, int xx, int rvar);
     27void wNorm(int *degw, int *lpol, int npol, double *rel);
     28void wFirstSearch(int *A, int *x, int mons,
    2929        int *lpol, int npol, double *rel, double *fopt, double wNsqr, int rvar);
    30 extern "C" void wSecondSearch(int *A, int *x, int *lpol,
     30void wSecondSearch(int *A, int *x, int *lpol,
    3131        int npol, int mons, double *rel, double *fk, double wNsqr, int rvar);
    32 extern "C" void wGcd(int *x, int n);
     32void wGcd(int *x, int n);
    3333
    3434static void wDimensions(poly* s, int sl, int *lpol, int *npol, int *mons)
  • libpolys/polys/weight0.cc

    reccae7 r1c90ae  
    166166  y = (int * )omAlloc((long)a);
    167167  adr = (void * )omAllocAligned((long)a0);
    168   pr = adr;
     168  pr = (double*)adr;
    169169  *pr = (double)1.0;
    170170  *y = 0;
Note: See TracChangeset for help on using the changeset viewer.