Skip to content
Snippets Groups Projects
Commit fddff90c authored by Carsten Gräser's avatar Carsten Gräser
Browse files

The value used to set a BitSetVector should be a bool

parent 913dd287
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -41,8 +41,8 @@ void resizeInitialize(Vector& x, const Vector& y, Value&& value) ...@@ -41,8 +41,8 @@ void resizeInitialize(Vector& x, const Vector& y, Value&& value)
* the size of the given vector and assign the given * the size of the given vector and assign the given
* value to it. * value to it.
*/ */
template<int size, class Alloc, class Vector, class Value> template<int size, class Alloc, class Vector>
void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, Value&& value) void resizeInitialize(Dune::BitSetVector<size, Alloc>& x, const Vector& y, bool value)
{ {
x.resize(y.size()); x.resize(y.size());
if (value) if (value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment