]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Can do a bit better by checking for DGETRF_ instead of LIBLACK only.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Nov 2008 13:38:15 +0000 (13:38 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 19 Nov 2008 13:38:15 +0000 (13:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@17642 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/full_matrix.cc

index e5c70d1090b5f991d9a69ff6cda667cd5e9744f2..30ec55d91d62eef679bb7a339cece89683fb88a7 100644 (file)
@@ -23,7 +23,7 @@ DEAL_II_NAMESPACE_OPEN
                                    // inversion since it only works with
                                    // floats and doubles in case LAPACK was
                                    // detected by configure.
-#ifdef HAVE_LIBLAPACK
+#if defined(HAVE_DGETRF_) && defined (HAVE_SGETRF_) 
 
 template <>
 void
@@ -115,9 +115,7 @@ FullMatrix<double>::gauss_jordan ()
                                    // Use the LAPACK function getri for
                                    // calculating the actual inverse using
                                    // the LU factorization.
-  std::cout << " blas";
   getri(&nn, values, &nn, &ipiv[0], &inv_work[0], &nn, &info);
-  std::cout << " 2 mal" << std::endl;
 
   Assert(info >= 0, ExcInternalError());
   Assert(info == 0, LACExceptions::ExcSingular());

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.