aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/lcalc-lcommon-h.patch
blob: 897956de64816911fd80b967d1b9c5415d92beb6 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch taken from the Sage packaging system.

--- src/include/Lcommon.h	2010-01-31 15:16:45.000000000 +0000
+++ src/include/Lcommon.h	2011-03-08 21:19:11.849443238 +0000
@@ -25,7 +25,7 @@
 #ifdef USE_MPFR
 inline double lcalc_to_double(const double& x) { return x; }
 #endif
-//inline double lcalc_to_double(const long double& x) { return x; }
+inline double lcalc_to_double(const long double& x) { return x; }
 inline double lcalc_to_double(const int& x) { return x; }
 inline double lcalc_to_double(const long long& x) { return x; }
 inline double lcalc_to_double(const short& x) { return x; }