diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 373e8deebc0005a3cfd5189f217c85596b02bd8b..7b8578cdbf2fd929f6fb1ff882eec6e6a51f19a8 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 ";