Commit 8fc8c0ee authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[bugfix][test] Fix functional test

While I'd like the tested interface more, it's not implemented
yet leading to a failing test
parent a1f10bac
Pipeline #6540 failed with stage
in 2 minutes and 17 seconds
......@@ -399,7 +399,8 @@ void testDirectionalRestrictionSubdifferential(const Functional& functional,
for (auto v : testParameters)
{
// Test the subdifferential of the restriction
Solvers::Interval<double> subDifferential = restriction.subDifferential(v);
Solvers::Interval<double> subDifferential;
restriction.subDiff(v, subDifferential);
// Step size. Best value: square root of the machine precision
constexpr double eps = std::sqrt(std::numeric_limits<double>::epsilon());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment