Skip to content
Snippets Groups Projects
Commit acb67f2b authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[test][common] Test overload of partial

parent 829065ed
No related branches found
No related tags found
1 merge request!1356[test][common] Test overload of partial
......@@ -39,6 +39,7 @@ void runTest()
std::get<2>(m) = c;
auto p = partial(m, _0, _2);
p = partial(m, std::make_tuple(_0, _2));
if (!std::is_same<T<Block1&, Block2&>, std::decay_t<decltype(p)>>::value)
DUNE_THROW(Dune::Exception, "Dumux::partial() returned wrong type: " << Dune::className(p));
......
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