...
 
Commits (2)
lcalc (1.23+dfsg-8) UNRELEASED; urgency=medium
lcalc (1.23+dfsg-8) unstable; urgency=medium
[ Julien Puydt ]
* Rewrite the tarball repacking (next release
......@@ -7,7 +7,10 @@ lcalc (1.23+dfsg-8) UNRELEASED; urgency=medium
[ Jelmer Vernooij ]
* Use secure copyright file specification URI.
-- Julien Puydt <jpuydt@debian.org> Sat, 11 Aug 2018 15:47:33 +0200
[ Tobias Hansen ]
* Add using_namespace_std.patch from sagemath.
-- Tobias Hansen <thansen@debian.org> Wed, 02 Jan 2019 18:42:12 +0000
lcalc (1.23+dfsg-7) unstable; urgency=medium
......
......@@ -9,3 +9,4 @@ pari-apell.patch
pari-init-stack.patch
clang.patch
spelling.patch
using_namespace_std.patch
Origin: https://git.sagemath.org/sage.git/tree/build/pkgs/lcalc/patches/using_namespace_std.patch?h=develop
--- a/include/Lcommon.h
+++ b/include/Lcommon.h
@@ -48,7 +48,7 @@
// 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
--- a/include/Lcommon_ld.h
+++ b/include/Lcommon_ld.h
@@ -53,7 +53,7 @@
// 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
--- a/include/Lglobals.h
+++ b/include/Lglobals.h
@@ -24,9 +24,9 @@
#ifndef Lglobals_H
#define Lglobals_H
+#include <valarray>
using namespace std;
-#include <valarray>
#ifdef USE_MPFR
#include "Lgmpfrxx.h"
typedef mpfr_class Double;