From: hartmann Date: Mon, 11 Sep 2006 12:26:58 +0000 (+0000) Subject: Avoid call of stev function for float matrices to make it link. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c75c134c22102ffb76314a2c2f53f91040ca97eb;p=dealii-svn.git Avoid call of stev function for float matrices to make it link. git-svn-id: https://svn.dealii.org/trunk@13894 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/tridiagonal_matrix.cc b/deal.II/lac/source/tridiagonal_matrix.cc index 45ab985d2a..951537f72c 100644 --- a/deal.II/lac/source/tridiagonal_matrix.cc +++ b/deal.II/lac/source/tridiagonal_matrix.cc @@ -217,9 +217,9 @@ TridiagonalMatrix::matrix_norm_square( } -template +template<> void -TridiagonalMatrix::compute_eigenvalues() +TridiagonalMatrix::compute_eigenvalues() { #ifdef HAVE_LIBLAPACK Assert(state == matrix, ExcState(state)); @@ -237,6 +237,16 @@ TridiagonalMatrix::compute_eigenvalues() } +template<> +void +TridiagonalMatrix::compute_eigenvalues() +{ +// stev for float matrices should only be called if configure found +// sstev_ being included into liblapack + Assert(false, ExcNotImplemented()); +} + + template number TridiagonalMatrix::eigenvalue(const unsigned int i) const