From edd8944f698b26abeed8e81f764111feeccd6996 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sun, 10 Feb 2013 21:52:16 +0100
Subject: [PATCH] Add a comment

---
 src/one-body-sample.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc
index 373e8dee..7b8578cd 100644
--- a/src/one-body-sample.cc
+++ b/src/one-body-sample.cc
@@ -449,7 +449,7 @@ int main(int argc, char *argv[]) {
               || correction < minimalCorrectionReduction * lastCorrection) {
             alpha = computed_state;
             dampingWriter << "N ";
-          } else {
+          } else { // alpha is still the old time step here
             alpha *= damping;
             alpha.axpy(1.0 - damping, computed_state);
             dampingWriter << "Y ";
-- 
GitLab