From 7e77a631c09e5e22e496d0f4e2c42b9c3ad9f53a Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 28 Aug 2007 13:41:54 +0000
Subject: [PATCH] bugfix: vector totalConvRate was to short

[[Imported from SVN: r1618]]
---
 dirneucoupling.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dirneucoupling.cc b/dirneucoupling.cc
index 6eb19fd7..1ca7ba9b 100644
--- a/dirneucoupling.cc
+++ b/dirneucoupling.cc
@@ -477,7 +477,7 @@ int main (int argc, char *argv[]) try
 
     // Store the history of total conv rates so we can filter out numerical
     // dirt in the end.
-    std::vector<double> totalConvRate(maxDirichletNeumannSteps);
+    std::vector<double> totalConvRate(maxDirichletNeumannSteps+1);
     totalConvRate[0] = 1;
 
 
-- 
GitLab