aboutsummaryrefslogtreecommitdiff
path: root/graphics/nurbs++/files/patch-matrix_matrix_point.cpp
blob: 079c8eda3ab17e26b1e1acceef8a83f233d9f09a (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_point.cpp.orig	2008-02-13 22:22:23.000000000 +0100
+++ matrix/matrix_point.cpp	2008-02-13 22:23:16.000000000 +0100
@@ -27,7 +27,7 @@
 
 namespace PLib {
 
-  double
+  template<> double
     Matrix<Point3Df>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, maxsum;
@@ -55,7 +55,7 @@
     return sqrt(maxsum);
   }
   
-  double
+  template<> double
     Matrix<Point3Dd>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, maxsum;
@@ -83,7 +83,7 @@
     return sqrt(maxsum);
   }
   
-  double
+  template<> double
     Matrix<Point2Df>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, maxsum;
@@ -111,7 +111,7 @@
     return sqrt(maxsum);
   }
 
-  double
+  template<> double
     Matrix<Point2Dd>::norm(void) {
     int i,j ;
     double sumX, sumY, sumZ, maxsum;