File: fix_static_initialisation.patch

package info (click to toggle)
libxc 5.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196,988 kB
  • sloc: ansic: 31,506; f90: 3,369; perl: 1,392; python: 966; makefile: 425; sh: 318
file content (31 lines) | stat: -rw-r--r-- 1,708 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: libxc/src/util.h
===================================================================
--- libxc.orig/src/util.h
+++ libxc/src/util.h
@@ -110,16 +110,16 @@
 /* Computes nderiv derivatives of B-spline Nip(u) */
 GPU_FUNCTION void xc_bspline(int i, int p, double u, int nderiv, const double *U, double *ders);
 
-#define M_SQRTPI        1.772453850905516027298167483341145182798L
-#define M_CBRTPI        1.464591887561523263020142527263790391739L
-#define M_SQRT3         1.732050807568877293527446341505872366943L
-#define M_CBRT2         1.259921049894873164767210607278228350570L
-#define M_CBRT3         1.442249570307408382321638310780109588392L
-#define M_CBRT4         1.587401051968199474751705639272308260391L
-#define M_CBRT5         1.709975946676696989353108872543860109868L
-#define M_CBRT6         1.817120592832139658891211756327260502428L
-#define M_CBRT7         1.912931182772389101199116839548760282862L
-#define M_CBRT9         2.080083823051904114530056824357885386338L
+#define M_SQRTPI        1.772453850905516027298167483341145182798
+#define M_CBRTPI        1.464591887561523263020142527263790391739
+#define M_SQRT3         1.732050807568877293527446341505872366943
+#define M_CBRT2         1.259921049894873164767210607278228350570
+#define M_CBRT3         1.442249570307408382321638310780109588392
+#define M_CBRT4         1.587401051968199474751705639272308260391
+#define M_CBRT5         1.709975946676696989353108872543860109868
+#define M_CBRT6         1.817120592832139658891211756327260502428
+#define M_CBRT7         1.912931182772389101199116839548760282862
+#define M_CBRT9         2.080083823051904114530056824357885386338
 
 /* Very useful macros */
 #ifndef m_min