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
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment