From 29966fcb6464c4cd78834bc27d4512acdc5930a1 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Fri, 7 Nov 2014 16:48:27 +0100 Subject: [PATCH] set problem type to generalised hermitian in Step 36. --- examples/step-36/step-36.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/step-36/step-36.cc b/examples/step-36/step-36.cc index eb69652d2e..9b047190a1 100644 --- a/examples/step-36/step-36.cc +++ b/examples/step-36/step-36.cc @@ -346,6 +346,8 @@ namespace Step36 // its work: eigensolver.set_which_eigenpairs (EPS_SMALLEST_REAL); + eigensolver.set_problem_type (EPS_GHEP); + eigensolver.solve (stiffness_matrix, mass_matrix, eigenvalues, eigenfunctions, eigenfunctions.size()); -- 2.39.5