summaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-matrix_matrix_hpoint.cpp
blob: 67eb18a33891568f95b6ed330aaebe9de39eb9f2 (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
31
32
33
34
35
36
37
38
--- matrix/matrix_hpoint.cpp.orig	2008-02-13 22:23:41.000000000 +0100
+++ matrix/matrix_hpoint.cpp	2008-02-13 22:24:43.000000000 +0100
@@ -27,7 +27,7 @@
 
 namespace PLib {
 
-  double
+  template<> double
     Matrix<HPoint3Df>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, sumW, maxsum;
@@ -58,7 +58,7 @@
   }
   
   
-  double
+  template<> double
     Matrix<HPoint3Dd>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, sumW, maxsum;
@@ -89,7 +89,7 @@
   }
   
   
-  double
+  template<> double
     Matrix<HPoint2Df>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, sumW, maxsum;
@@ -119,7 +119,7 @@
     return sqrt(maxsum);
   }
   
-  double
+  template<> double
     Matrix<HPoint2Dd>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, sumW, maxsum;