]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: Fix lapack stev call in TridiagonalMatrix<number>::compute_eigenvalues()
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 26 May 2018 12:18:14 +0000 (14:18 +0200)
committerMatthias Maier <tamiko@43-1.org>
Wed, 6 Jun 2018 15:19:38 +0000 (10:19 -0500)
source/lac/tridiagonal_matrix.cc

index 986b7c7af17c2f4fd3dfcc9deea564b7f2d538f1..9c9ba64ef37dc51f4593eb6cde47fc9d53ff542c 100644 (file)
@@ -241,8 +241,14 @@ TridiagonalMatrix<number>::compute_eigenvalues()
 
   const types::blas_int nn = n();
   types::blas_int       info;
-  //   stev(&N, &nn, diagonal.data(), right.data(), nullptr, &one, nullptr,
-  //   &info);
+  stev(&N,
+       &nn,
+       diagonal.data(),
+       right.data(),
+       static_cast<number *>(nullptr),
+       &one,
+       static_cast<number *>(nullptr),
+       &info);
   Assert(info == 0, ExcInternalError());
 
   state = LAPACKSupport::eigenvalues;

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.