From: kronbichler Date: Wed, 19 Nov 2008 13:38:15 +0000 (+0000) Subject: Can do a bit better by checking for DGETRF_ instead of LIBLACK only. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b692c62365744e863445540b9445e558512248f;p=dealii-svn.git Can do a bit better by checking for DGETRF_ instead of LIBLACK only. git-svn-id: https://svn.dealii.org/trunk@17642 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/full_matrix.cc b/deal.II/lac/source/full_matrix.cc index e5c70d1090..30ec55d91d 100644 --- a/deal.II/lac/source/full_matrix.cc +++ b/deal.II/lac/source/full_matrix.cc @@ -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::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());