Ticket #12835: libfplll-fplllv31.patch

File libfplll-fplllv31.patch, 1.3 KB (added by pcpa, 9 years ago)

fplll patch

  • libfplll-4.0.1/src/fplllv31.h

    diff -up libfplll-4.0.1/src/fplllv31.h.orig libfplll-4.0.1/src/fplllv31.h
    old new struct heuristic : public lll31method<ZT 
    6464  heuristic(ZZ_mat<ZT>*B, int precision = 0, double eta = LLL_DEF_ETA,
    6565            double delta = LLL_DEF_DELTA, int siegel = 0) :
    6666    lll31method<ZT, FT>(LM_HEURISTIC, 0, B, precision,
    67                       delta, eta, delta, siegel) {}
     67                      eta, delta, siegel) {}
    6868};
    6969
    7070template<class ZT, class FT>
    struct heuristic_early_red : public lll3 
    7272  heuristic_early_red(ZZ_mat<ZT>*B, int precision = 0, double eta = LLL_DEF_ETA,
    7373                      double delta = LLL_DEF_DELTA, int siegel = 0) :
    7474    lll31method<ZT, FT>(LM_HEURISTIC, LLL_EARLY_RED, B, precision,
    75                       delta, eta, delta, siegel) {}
     75                      eta, delta, siegel) {}
     76};
     77
     78template<class ZT, class FT>
     79struct proved : public lll31method<ZT, FT> {
     80  proved(ZZ_mat<ZT>*B, int precision = 0, double eta = LLL_DEF_ETA,
     81            double delta = LLL_DEF_DELTA, int siegel = 0) :
     82    lll31method<ZT, FT>(LM_PROVED, 0, B, precision,
     83                      eta, delta, siegel) {}
    7684};
    7785
    7886struct wrapper {