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