Skip to content
Snippets Groups Projects
Commit bbc28728 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Add error message for VariableBlockVector<bool>

parent b34fb142
No related branches found
No related tags found
1 merge request!463Cleanup the VariableBlockVector implementation
......@@ -54,6 +54,9 @@ namespace Dune {
// data-structure holding the windows (but not the actual data)
using VectorWindows = std::vector<window_type, typename std::allocator_traits<A>::template rebind_alloc<window_type>>;
// block type bool is not supported since std::vector<bool> is used for storage
static_assert(not std::is_same_v<B,bool>, "Block type 'bool' not supported by VariableBlockVector.");
public:
//===== type definitions and constants
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment