From 23355c2563e6683b99e4d114a486032e677e056b Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Mon, 24 Oct 2011 17:57:49 +0000
Subject: [PATCH] Make sure that the nodes to ignore were set

[[Imported from SVN: r4667]]
---
 dune/solvers/iterationsteps/blockgsstep.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dune/solvers/iterationsteps/blockgsstep.cc b/dune/solvers/iterationsteps/blockgsstep.cc
index a9b49758..1f067d89 100644
--- a/dune/solvers/iterationsteps/blockgsstep.cc
+++ b/dune/solvers/iterationsteps/blockgsstep.cc
@@ -1,3 +1,5 @@
+#include <cassert>
+
 template<class OperatorType, class DiscFuncType, class BitVectorType>
 inline
 DiscFuncType BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::getSol()
@@ -38,6 +40,7 @@ void BlockGSStep<OperatorType, DiscFuncType, BitVectorType>::iterate()
 {
     const OperatorType& mat = *this->mat_;
 
+    assert(this->ignoreNodes_ != NULL);
     for (size_t i=0; i<this->x_->size(); i++) {
 
         /** \todo Handle more general boundary conditions */
-- 
GitLab