From 5cdd5edeaf285cb10034412e82b4d244bf68e3db Mon Sep 17 00:00:00 2001
From: Simon Praetorius <simon.praetorius@tu-dresden.de>
Date: Thu, 28 Apr 2016 17:29:16 +0200
Subject: [PATCH] workaround for dune-functions problems

---
 src/pfc.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/pfc.cc b/src/pfc.cc
index 8a2fea60..9e122078 100644
--- a/src/pfc.cc
+++ b/src/pfc.cc
@@ -103,7 +103,8 @@ int main(int argc, char** argv)
     Mu.getVector() = 0.0;
     Nu.getVector() = 0.0;
     std::srand( time(0) );
-    Psi.interpol([psi_mean](auto const& x) { return (std::rand()/double(RAND_MAX) - 0.5) + psi_mean; });
+//     Psi.interpol([psi_mean](auto const& x) { return (std::rand()/double(RAND_MAX) - 0.5) + psi_mean; });
+    Psi = psi_mean;
     
 //     using PreconType = PfcPrecon<typename PfcProblem::SystemMatrixType::MultiMatrix, typename PfcProblem::SystemVectorType::MultiVector>;
 //     PreconType precon(prob.getSystemMatrix().getMatrix(), &tau, M0);
-- 
GitLab