From fddff90cf54642241855cf30fed95e917148dfb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@dune-project.org> Date: Tue, 14 Jun 2016 21:48:59 +0200 Subject: [PATCH] The value used to set a BitSetVector should be a bool --- dune/solvers/common/resize.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/solvers/common/resize.hh b/dune/solvers/common/resize.hh index 88a7e6ac..0cfcab16 100644 --- a/dune/solvers/common/resize.hh +++ b/dune/solvers/common/resize.hh @@ -41,8 +41,8 @@ void resizeInitialize(Vector& x, const Vector& y, Value&& value) * the size of the given vector and assign the given * value to it. */ -template<int size, class Alloc, class Vector, class Value> -void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, Value&& value) +template<int size, class Alloc, class Vector> +void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool value) { x.resize(y.size()); if (value) -- GitLab