From 545339b400f247904d44687d590a8c599e0b1bcd Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sat, 25 Feb 2012 21:38:34 +0100
Subject: [PATCH] Jplus -> J

---
 src/one-body-sample.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc
index 860ed695..06d8b63f 100644
--- a/src/one-body-sample.cc
+++ b/src/one-body-sample.cc
@@ -205,11 +205,11 @@ class DecayingExponential {
 
 double compute_state_update_bisection(double h, double unorm, double L,
                                       double old_state) {
-  MyDirectionalConvexFunction<DecayingExponential> const Jplus(
+  MyDirectionalConvexFunction<DecayingExponential> const J(
       1.0 / h, (old_state - unorm / L) / h, DecayingExponential(), 0, 1);
   int bisectionsteps = 0;
-  Bisection const bisection(0.0, 1.0, 1e-12, true, 0); // TODO
-  return bisection.minimize(Jplus, 0.0, 0.0, bisectionsteps);
+  Bisection const bisection(0.0, 1.0, 1e-12, true, 0);    // TODO
+  return bisection.minimize(J, 0.0, 0.0, bisectionsteps); // TODO
 }
 
 double compute_state_update_lambert(double h, double unorm, double L,
-- 
GitLab