Changeset c86bbe in git


Ignore:
Timestamp:
Dec 7, 2016, 3:14:33 PM (7 years ago)
Author:
Andreas Steenpass <steenpass@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1b36ce96382dfefe034b98a7aff1bba762cde6ad
Parents:
efcad184aab131a5bb91c07a131e4eef481d398f
git-author:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2016-12-07 15:14:33+01:00
git-committer:
Andreas Steenpass <steenpass@mathematik.uni-kl.de>2017-12-15 12:17:07+01:00
Message:
fix: make syz4.cc compile with clang
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/syz4.cc

    refcad1 rc86bbe  
    7070    for (unsigned int k = 0; k < n_elems; k++) {
    7171        const poly a = L->m[k];
    72         C[p_GetComp(a, R)].push_back({a, p_GetShortExpVector(a, R), k});
     72        C[p_GetComp(a, R)].push_back((lt_struct){a, p_GetShortExpVector(a, R),
     73            k});
    7374    }
    7475}
     
    318319
    319320static ideal syzM_i_unsorted(const ideal G, const int i,
    320     const syzHeadFunction *syzHead)
     321    syzHeadFunction *syzHead)
    321322{
    322323    ideal M_i = NULL;
     
    342343
    343344static ideal syzM_i_sorted(const ideal G, const int i,
    344     const syzHeadFunction *syzHead)
     345    syzHeadFunction *syzHead)
    345346{
    346347    ideal M_i = NULL;
     
    418419#endif   // SORT_MI
    419420
    420 static ideal computeFrame(const ideal G, const syzM_i_Function syzM_i,
    421     const syzHeadFunction *syzHead)
     421static ideal computeFrame(const ideal G, syzM_i_Function syzM_i,
     422    syzHeadFunction *syzHead)
    422423{
    423424    ideal* M = (ideal *)omalloc((G->ncols-1)*sizeof(ideal));
     
    459460
    460461static int computeResolution(resolvente &res, const int length,
    461     const syzHeadFunction *syzHead)
     462    syzHeadFunction *syzHead)
    462463{
    463464    int max_index = length-1;
Note: See TracChangeset for help on using the changeset viewer.