summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--langevin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/langevin.cpp b/langevin.cpp
index fa737cf..1b328b6 100644
--- a/langevin.cpp
+++ b/langevin.cpp
@@ -57,7 +57,7 @@ std::tuple<double, Vector> gradientDescent(const Tensor& J, const Vector& z0, do
}
if (γ < 1e-15) {
- std::cout << "Gradient descent stalled." << std::endl;
+ std::cerr << "Gradient descent stalled." << std::endl;
exit(1);
}
}