]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make tests compilable without UMFPACK; think about output!
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 Aug 2004 07:52:53 +0000 (07:52 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 27 Aug 2004 07:52:53 +0000 (07:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@9589 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/umfpack_01.cc
tests/bits/umfpack_02.cc
tests/bits/umfpack_03.cc

index 5c5aba1f946c03a6079097bf18708e1ec7528aa5..4291dce5b551fa121e837facb86c5053d1a13a30 100644 (file)
@@ -38,6 +38,7 @@
 #include <numerics/matrices.h>
 
 
+#ifdef HAVE_UMFPACK
 
 template <int dim>
 void test ()
@@ -101,6 +102,14 @@ void test ()
     }
 }
 
+#else
+
+template<int dim>
+void test()
+{}
+
+#endif
+
 
 int main ()
 {
index f591be902c59cf8bf5c71f1c749baa2198a576c4..a7a1b5535c59741f0fe148a1ad5b0f549a9cb333 100644 (file)
@@ -40,6 +40,7 @@
 #include <numerics/matrices.h>
 
 
+#ifdef HAVE_UMFPACK
 
 template <int dim>
 void test ()
@@ -107,6 +108,14 @@ void test ()
     }
 }
 
+#else
+
+template<int dim>
+void test()
+{}
+
+#endif
+
 
 int main ()
 {
index 5e8b229262b1577a4756f95a5b7f153a6ad35c70..2dd93bfadc76d248209d0f03150dad69a72cd05a 100644 (file)
@@ -38,6 +38,7 @@
 #include <numerics/matrices.h>
 
 
+#ifdef HAVE_UMFPACK
 
 template <int dim>
 void test ()
@@ -118,6 +119,13 @@ void test ()
     }
 }
 
+#else
+
+template<int dim>
+void test()
+{}
+
+#endif
 
 int main ()
 {

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.