Skip to content
Snippets Groups Projects
Commit 535ceedd authored by René Fritze's avatar René Fritze
Browse files

[tests] fix yet more tests

parent 9ec36d04
No related branches found
No related tags found
No related merge requests found
......@@ -63,8 +63,7 @@ struct SeparableTest : public ::testing::Test
void check() const
{
const std::unique_ptr<InterfaceType> function(
Function::create<DomainFieldType, dimDomain, RangeFieldType, dimRange>(
FunctionType::id(), FunctionType::createSampleDescription()));
FunctionType::createFromDescription(FunctionType::createSampleDescription()));
if (!function->parametric())
DUNE_THROW(Dune::InvalidStateException, "ERROR: separable function returned parametric() == false!");
if (!function->separable())
......
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