Commit 1620357d authored by's avatar
Browse files

In the new interface, the subDiff method is now called subDifferential

parent a167a0e3
......@@ -395,8 +395,7 @@ void testDirectionalRestrictionSubdifferential(const Functional& functional,
for (auto v : testParameters)
// Test the subdifferential of the restriction
Solvers::Interval<double> subDifferential;
restriction.subDiff(v, subDifferential);
Solvers::Interval<double> subDifferential = restriction.subDifferential(v);
// 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