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; 9511e0b5de7651786d9660f3d292'>diff
AgeCommit message (Expand)Author
2023-09-26tests: Assume ‘git’ is always available....* tests/channels.scm (gpg+git-available?): Check for ‘gpg-command’ only. Remove all ‘test-skip’ statements. * tests/derivations.scm: Likewise. * tests/git-authenticate.scm: Likewise. * tests/git.scm: Likewise. * tests/import-git.scm: Likewise. Ludovic Courtès
2022-10-17git: 'update-cached-checkout' returns the commit ID when given a tag....Previously, starting with commit efa578ecaece67366b4b0e2266de7c2faaa4ae54, 'update-cached-checkout' would return the OID of the annotated tag the tag points to. With this change it returns the OID of the commit object in all cases. * guix/git.scm (resolve-reference): In the 'tag' case, call 'tag-target-id' and 'tag-lookup' when OID designates an annotated tag. * tests/git.scm ("update-cached-checkout, tag"): New test. Ludovic Courtès
2022-02-14git: Add 'commit-descendant?'....* guix/git.scm (commit-descendant?): New procedure. * tests/git.scm ("commit-descendant?"): New test. Ludovic Courtès