Skip to content
Snippets Groups Projects
Commit 59930ae2 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Cleanup

parent 1a1fb9ae
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,9 @@ template <class MatrixType, class VectorType> class CircularConvexFunction {
tangent(m, t);
VectorType tmp;
A.mv(x, tmp); // Ax
tmp -= b; // Ax - b
double const dotp = tmp * t; // <Ax - b,t>
D[0] = D[1] = dotp;
A.mv(x, tmp); // Ax
tmp -= b; // Ax - b
D[0] = D[1] = tmp * t; // <Ax - b,t>
}
void domain(Interval<double> &domain) const {
......
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