]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Undo the previous changes that templatized a function without making it a template...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Nov 2007 01:35:52 +0000 (01:35 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 27 Nov 2007 01:35:52 +0000 (01:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@15543 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/full_matrix_vector_01.cc
tests/bits/full_matrix_vector_02.cc
tests/bits/full_matrix_vector_05.cc
tests/bits/full_matrix_vector_06.cc
tests/bits/full_matrix_vector_07.cc

index d4268b1fbee3fc34fa685909d7d8b1ed1e8e1e7a..a0278f51f05e6b7c828da55f2331a439871f7dab 100644 (file)
@@ -22,8 +22,8 @@
 #include <vector>
 
 
-void test (Vector<number> &v,
-           Vector<number> &w)
+void test (Vector<double> &v,
+           Vector<double> &w)
 {
   FullMatrix<double> m(v.size(), v.size());
   for (unsigned int i=0; i<m.m(); ++i)
@@ -64,8 +64,8 @@ int main ()
 
   try
     {
-      Vector<number> v (100);
-      Vector<number> w (100);
+      Vector<double> v (100);
+      Vector<double> w (100);
       test (v,w);
     }
   catch (std::exception &exc)
index 1b11b75abf1f49ba427728c39aee0ca1a2bb06cd..3a493e427b5cdf105de6315dff70c5e5c513651c 100644 (file)
@@ -22,8 +22,8 @@
 #include <vector>
 
 
-void test (Vector<number> &v,
-           Vector<number> &w)
+void test (Vector<double> &v,
+           Vector<double> &w)
 {
   FullMatrix<double> m(v.size(), v.size());
   for (unsigned int i=0; i<m.m(); ++i)
@@ -64,8 +64,8 @@ int main ()
 
   try
     {
-      Vector<number> v (100);
-      Vector<number> w (100);
+      Vector<double> v (100);
+      Vector<double> w (100);
       test (v,w);
     }
   catch (std::exception &exc)
index dd813503789c50ae98b75358ad79357fad908f29..0619f826f467d5518c6ab3c56de0271d173185cb 100644 (file)
@@ -22,8 +22,8 @@
 #include <vector>
 
 
-void test (Vector<number> &v,
-           Vector<number> &w)
+void test (Vector<double> &v,
+           Vector<double> &w)
 {
   FullMatrix<double> m(v.size(), v.size());
   for (unsigned int i=0; i<m.m(); ++i)
@@ -70,8 +70,8 @@ int main ()
 
   try
     {
-      Vector<number> v (100);
-      Vector<number> w (100);
+      Vector<double> v (100);
+      Vector<double> w (100);
       test (v,w);
     }
   catch (std::exception &exc)
index 46bbb3ebed480a4861479f70f169f9c0da1b71ef..2544ee002005e04473fb1c139ffbebe99fe25450 100644 (file)
@@ -22,7 +22,7 @@
 #include <vector>
 
 
-void test (Vector<number> &v)
+void test (Vector<double> &v)
 {
   FullMatrix<double> m(v.size(), v.size());
   for (unsigned int i=0; i<m.m(); ++i)
@@ -62,7 +62,7 @@ int main ()
 
   try
     {
-      Vector<number> v (100);
+      Vector<double> v (100);
       test (v);
     }
   catch (std::exception &exc)
index 1e6b8db69eff1e6495c5f67b3524812c744c2f07..8115c35491b4d00e4ac489cfea3c21e3140c15c8 100644 (file)
@@ -22,9 +22,9 @@
 #include <vector>
 
 
-void test (Vector<number> &v,
-           Vector<number> &w,
-           Vector<number> &x)
+void test (Vector<double> &v,
+           Vector<double> &w,
+           Vector<double> &x)
 {
   FullMatrix<double> m(v.size(), v.size());
   for (unsigned int i=0; i<m.m(); ++i)
@@ -72,9 +72,9 @@ int main ()
 
   try
     {
-      Vector<number> v (100);
-      Vector<number> w (100);
-      Vector<number> x (100);
+      Vector<double> v (100);
+      Vector<double> w (100);
+      Vector<double> x (100);
       test (v,w,x);
     }
   catch (std::exception &exc)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.