Ticket #16208: lcalc-1.23_default_parameters_1.patch

File lcalc-1.23_default_parameters_1.patch, 1.2 KB (added by Leif Leonhardy, 9 years ago)

For reference / easier reviewing.

  • include/Ldirichlet_series.h

    diff -Naur lcalc-1.23-vanilla/include/Ldirichlet_series.h lcalc-1.23-fixed-gcc.4.9/include/Ldirichlet_series.h
    old new  
    4343 //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    4444template <class ttype>
    4545Complex L_function <ttype>::
    46 dirichlet_series(Complex s, long long N=-1)
     46dirichlet_series(Complex s, long long N)
    4747{
    4848    Complex z=0.;
    4949    long long m,n;
  • include/L.h

    diff -Naur lcalc-1.23-vanilla/include/L.h lcalc-1.23-fixed-gcc.4.9/include/L.h
    old new  
    491491
    492492    //#include "Ldirichlet_series.h" //for computing Dirichlet series
    493493    Complex partial_dirichlet_series(Complex s, long long N1, long long N2);
    494     Complex dirichlet_series(Complex s, long long N);
     494    Complex dirichlet_series(Complex s, long long N=-1LL);
    495495
    496496    //#include "Ltaylor_series.h" //for computing taylor series for Dirichlet series
    497497    //void compute_taylor_series(int N, int K, Complex s_0, Complex *series);