]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make class exist, but empty if not configured
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Sep 2004 09:23:43 +0000 (09:23 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 23 Sep 2004 09:23:43 +0000 (09:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@9673 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_direct.h

index 927359b15f7af3b19740d0eebdecef0d95647774..b6a600c429a786fb3c23b0e07be64e5a43fbeb7e 100644 (file)
@@ -996,7 +996,6 @@ class SparseDirectMA47 : public Subscriptor
 
 
 
-#ifdef HAVE_UMFPACK
 
 /**
  * This class provides an interface to the sparse direct solver UMFPACK (see
@@ -1016,6 +1015,8 @@ class SparseDirectMA47 : public Subscriptor
  */
 class SparseDirectUMFPACK : public Subscriptor
 {
+#ifdef HAVE_UMFPACK
+    
   public:
                                     /**
                                      * Constructor. See the
@@ -1144,9 +1145,9 @@ class SparseDirectUMFPACK : public Subscriptor
                                       * routines.
                                       */
     std::vector<double> control;
-};
 
 #endif
+};
 
 /*@}*/
 

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.