about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/physics/nlojet/nlojet_clang_fix.patch
blob: 917c57e8cb47b025b8eef1cf6d74174540fb3ccd (plain) (blame)
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
diff -rupN nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h
--- nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h	2010-05-11 11:06:00.000000000 -0400
+++ nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-lorentzvector_complex.h	2014-08-23 03:22:51.000000000 -0400
@@ -26,8 +26,11 @@
 namespace nlo {
 
   //   Spacializations
+  template<>
   class lorentzvector<std::complex<float> >;
+  template<>
   class lorentzvector<std::complex<double> >;
+  template<>
   class lorentzvector<std::complex<long double> >;
   
   template<>
diff -rupN nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h
--- nlojet++-4.1.3-orig/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h	2010-05-11 11:06:00.000000000 -0400
+++ nlojet++-4.1.3/nlo-hep/hep-lorentz/bits/hep-threevector_complex.h	2014-08-23 03:23:09.000000000 -0400
@@ -26,8 +26,11 @@
 namespace nlo {
   
   //    Specializations
+  template<>
   class threevector<std::complex<float> >;
+  template<>
   class threevector<std::complex<double> >;
+  template<>
   class threevector<std::complex<long double> >;
   
   template<>