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

Nuke obsolete typedefs

parent 82efa550
Branches releases/2.0-1
No related tags found
No related merge requests found
...@@ -175,9 +175,8 @@ void minimise(Functional const J, typename Functional::SmallVector &x, ...@@ -175,9 +175,8 @@ void minimise(Functional const J, typename Functional::SmallVector &x,
J.A.mmv(x, tmp); // b-Au J.A.mmv(x, tmp); // b-Au
double const JRestb = tmp * descDir; // <b-Au,v> double const JRestb = tmp * descDir; // <b-Au,v>
typedef MyDirectionalConvexFunction<LocalNonlinearityType> MyDirectionalConvexFunction<LocalNonlinearityType> JRest(
MyDirectionalConvexFunctionType; JRestA, JRestb, *J.phi, x, descDir);
MyDirectionalConvexFunctionType JRest(JRestA, JRestb, *J.phi, x, descDir);
// }}} // }}}
{ // Debug { // Debug
...@@ -215,8 +214,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x, ...@@ -215,8 +214,7 @@ void minimise(Functional const J, typename Functional::SmallVector &x,
Bisection slowBisection(bisection); Bisection slowBisection(bisection);
slowBisection.setFastQuadratic(false); slowBisection.setFastQuadratic(false);
typedef CurvedFunction<LocalNonlinearityType> MyCurvedFunctionType; CurvedFunction<LocalNonlinearityType> JRest(J.A, J.b, *J.phi, x, descDir);
MyCurvedFunctionType JRest(J.A, J.b, *J.phi, x, descDir);
int count; int count;
double const stepsize = slowBisection.minimize(JRest, 0.0, 1.0, count); double const stepsize = slowBisection.minimize(JRest, 0.0, 1.0, count);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment