]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation with unity build. 4697/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 4 Aug 2017 16:30:38 +0000 (18:30 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Fri, 4 Aug 2017 16:30:38 +0000 (18:30 +0200)
source/base/CMakeLists.txt
source/lac/tridiagonal_matrix.cc

index 92f550cfeff285d9acc827e9bad09f5a5d7b29d5..af9cf9853677a78b163ff5d33888f2690d227d16 100644 (file)
@@ -66,7 +66,6 @@ SET(_unity_include_src
   quadrature_lib.cc
   quadrature_selector.cc
   subscriptor.cc
-  symmetric_tensor.cc
   table_handler.cc
   tensor_function.cc
   tensor_product_polynomials.cc
@@ -81,6 +80,7 @@ SET(_unity_include_src
 
 SET(_separate_src
   data_out_base.cc
+  symmetric_tensor.cc
   )
 
 # determined by profiling
index f2865134c5617c470784f36c69ab1f079233bcc4..711343ecf60e29fca183049170e0e445558796bd 100644 (file)
@@ -240,7 +240,7 @@ TridiagonalMatrix<double>::compute_eigenvalues()
   stev (&N, &nn, &*diagonal.begin(), &*right.begin(), nullptr, &one, nullptr, &info);
   Assert(info == 0, ExcInternalError());
 
-  state = eigenvalues;
+  state = LAPACKSupport::eigenvalues;
 #else
   Assert(false, ExcNeedsLAPACK());
 #endif
@@ -251,7 +251,7 @@ template <typename number>
 number
 TridiagonalMatrix<number>::eigenvalue(const size_type i) const
 {
-  Assert(state == eigenvalues, ExcState(state));
+  Assert(state == LAPACKSupport::eigenvalues, ExcState(state));
   Assert(i<n(), ExcIndexRange(i,0,n()));
   return diagonal[i];
 }

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.