From 25418fb801a8bfe75839e036669b7ddc9e5a8f7c Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 3 Sep 2013 16:30:19 +0000
Subject: [PATCH] Deprecate the methode setInitialSolution, because the name is
 stupid

Offer setInitialIterate instead

[[Imported from SVN: r9429]]
---
 dune/gfe/riemanniantrsolver.hh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dune/gfe/riemanniantrsolver.hh b/dune/gfe/riemanniantrsolver.hh
index cc6f5868..71a21820 100644
--- a/dune/gfe/riemanniantrsolver.hh
+++ b/dune/gfe/riemanniantrsolver.hh
@@ -79,7 +79,11 @@ public:
 
     void solve();
 
-    void setInitialSolution(const SolutionType& x) {
+    void setInitialSolution(const SolutionType& x) DUNE_DEPRECATED {
+        x_ = x;
+    }
+
+    void setInitialIterate(const SolutionType& x) {
         x_ = x;
     }
 
-- 
GitLab