Patch taken from the Sage packaging system. diff --git a/include/Lcommon.h b/include/Lcommon.h index 1b3be43..bf40532 100644 --- a/include/Lcommon.h +++ b/include/Lcommon.h @@ -48,7 +48,7 @@ const bool outputSeries=true; // Whether to output the coefficients or just th // Loop i from m to n // Useful in tidying up most for loops -#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++) +#define loop(i,m,n) for(auto i=(m); i!=(n); i++) // A class for calculations involving polynomials of small degree // Not efficient enough for huge polynomials diff --git a/include/Lcommon_ld.h b/include/Lcommon_ld.h index 86ae4df..33c560c 100644 --- a/include/Lcommon_ld.h +++ b/include/Lcommon_ld.h @@ -53,7 +53,7 @@ const bool outputSeries=true; // Whether to output the coefficients or just th // Loop i from m to n // Useful in tidying up most for loops -#define loop(i,m,n) for(typeof(m) i=(m); i!=(n); i++) +#define loop(i,m,n) for(auto i=(m); i!=(n); i++) // A class for calculations involving polynomials of small degree // Not efficient enough for huge polynomials diff --git a/include/Lglobals.h b/include/Lglobals.h index 60002e4..ca2606c 100644 --- a/include/Lglobals.h +++ b/include/Lglobals.h @@ -24,9 +24,9 @@ #ifndef Lglobals_H #define Lglobals_H +#include using namespace std; -#include #ifdef USE_MPFR #include "Lgmpfrxx.h" typedef mpfr_class Double; diff
AgeCommit message (Expand)Author
2022-07-12guix: Really export 'define-public'....This is a followup to 3858275962f1ac567b5dce2355035f9eddea0a05, which didn't have any effect. * guix.scm: Explicitly use (guix packages) so #:re-export-and-replace is effective. Ludovic Courtès
2021-09-14guix: Replace 'define-public'....This is a followup to 8531997d2a1e10d574a6e9ab70bc86ade6af4733. * guix.scm: Use #:re-export-and-replace for 'define-public'. Ludovic Courtès
2021-06-29(guix) no longer pulls in (guix ftp-client)....That choice was made in 2014 and never made much sense. * guix.scm (%public-modules): Remove 'ftp-client'. Ludovic Courtès